Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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:
|