Spaces:
Runtime error
Runtime error
Commit
·
34f8278
1
Parent(s):
65b2e27
Update run.py
Browse files
run.py
CHANGED
|
@@ -12,14 +12,7 @@ tts_demo = gr.load(
|
|
| 12 |
description="Give me something to say!",
|
| 13 |
)
|
| 14 |
|
| 15 |
-
|
| 16 |
-
"huggingface/facebook/wav2vec2-base-960h",
|
| 17 |
-
title=None,
|
| 18 |
-
inputs="mic",
|
| 19 |
-
description="Let me try to guess what you're saying!",
|
| 20 |
-
)
|
| 21 |
-
|
| 22 |
-
demo = gr.TabbedInterface([tts_demo, stt_demo], ["Text-to-speech", "Speech-to-text"])
|
| 23 |
|
| 24 |
if __name__ == "__main__":
|
| 25 |
-
demo.
|
|
|
|
| 12 |
description="Give me something to say!",
|
| 13 |
)
|
| 14 |
|
| 15 |
+
demo = tts_demo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
if __name__ == "__main__":
|
| 18 |
+
demo.launchs(show_api=False)
|