DGSpitzer commited on
Commit
1b1c393
1 Parent(s): b626029

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def get_music(prompt, musicAI_indx):
108
 
109
  #Convert to mp3
110
  mp3file_name = "audio.mp3"
111
- wavfile = AudioSegment.from_wav(wavfilename)
112
  wav.export(mp3file_name, format="mp3")
113
  return spec, mp3file_name
114
  else:
 
108
 
109
  #Convert to mp3
110
  mp3file_name = "audio.mp3"
111
+ wavfile = AudioSegment.from_wav("output.wav")
112
  wav.export(mp3file_name, format="mp3")
113
  return spec, mp3file_name
114
  else: