Commit
·
347303e
1
Parent(s):
c0ae957
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def one_shot(image,input_text,gender):
|
|
31 |
f.seek(0)
|
32 |
sound = AudioSegment.from_file(f.name, format="mp3")
|
33 |
sound.export("/content/audio.wav", format="wav")
|
34 |
-
return "/content/audio.wav"
|
35 |
exit()
|
36 |
one_shot_talking(image,'audio.wav')
|
37 |
|
|
|
31 |
f.seek(0)
|
32 |
sound = AudioSegment.from_file(f.name, format="mp3")
|
33 |
sound.export("/content/audio.wav", format="wav")
|
34 |
+
return sound.export("/content/audio.wav", format="wav")
|
35 |
exit()
|
36 |
one_shot_talking(image,'audio.wav')
|
37 |
|