Olivier-Truong
commited on
Commit
•
235fd06
1
Parent(s):
61ddeda
Update app.py
Browse files
app.py
CHANGED
@@ -95,9 +95,9 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, req
|
|
95 |
raise e
|
96 |
|
97 |
return (
|
98 |
-
gr.make_waveform(
|
99 |
-
|
100 |
-
),
|
101 |
"output.wav",
|
102 |
)
|
103 |
else:
|
@@ -289,7 +289,7 @@ gr.Interface(
|
|
289 |
),
|
290 |
],
|
291 |
outputs=[
|
292 |
-
gr.Video(label="Waveform Visual"),
|
293 |
gr.Audio(label="Synthesised Audio"),
|
294 |
],
|
295 |
title=title,
|
|
|
95 |
raise e
|
96 |
|
97 |
return (
|
98 |
+
#gr.make_waveform(
|
99 |
+
# audio="output.wav",
|
100 |
+
#),
|
101 |
"output.wav",
|
102 |
)
|
103 |
else:
|
|
|
289 |
),
|
290 |
],
|
291 |
outputs=[
|
292 |
+
#gr.Video(label="Waveform Visual"),
|
293 |
gr.Audio(label="Synthesised Audio"),
|
294 |
],
|
295 |
title=title,
|