Olivier-Truong
commited on
Commit
•
c71582e
1
Parent(s):
b058495
Update app.py
Browse files
app.py
CHANGED
@@ -95,10 +95,9 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, req
|
|
95 |
raise e
|
96 |
|
97 |
return (
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
None,
|
102 |
"output.wav",
|
103 |
)
|
104 |
else:
|
|
|
95 |
raise e
|
96 |
|
97 |
return (
|
98 |
+
gr.make_waveform(
|
99 |
+
audio="output.wav",
|
100 |
+
),
|
|
|
101 |
"output.wav",
|
102 |
)
|
103 |
else:
|