i have a wav file and i want to split according to the data i have in a list called speech and to export the the splitted wav files in folders according to the label variable
label=speech[0]
start= speech[1]
end = speech[2]
newAudio = AudioSegment.from_wav(audio_file_path)
newAudio = newAudio[start:end]
if label==1:
newAudio.export('/content/',x,'.wav', format="wav")
else:
newAudio.export('/content/',x,'.wav', format="wav")
but i keep getting the error export() got multiple values for argument 'format'