Commit
·
ba26aa6
1
Parent(s):
a7e4915
Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ def one_shot(image_in,audio_in,gender):
|
|
42 |
f.seek(0)
|
43 |
sound = AudioSegment.from_file(f.name, format="mp3")
|
44 |
sound.export("/content/audio.wav", format="wav")
|
45 |
-
|
46 |
-
return calculate(image_in,
|
47 |
|
48 |
def run():
|
49 |
with block:
|
|
|
42 |
f.seek(0)
|
43 |
sound = AudioSegment.from_file(f.name, format="mp3")
|
44 |
sound.export("/content/audio.wav", format="wav")
|
45 |
+
audio_in="/content/audio.wav"
|
46 |
+
return calculate(image_in,audio_in)
|
47 |
|
48 |
def run():
|
49 |
with block:
|