Spaces:
Running
Running
amirgame197
commited on
Commit
•
6043e76
1
Parent(s):
023b17c
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def synthesize_speech(text):
|
|
66 |
# Using Gradio Blocks
|
67 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
68 |
input_text = gr.Textbox(label="Input")
|
69 |
-
output_audio = gr.Audio(label="Output", type="
|
70 |
submit_button = gr.Button("Synthesize")
|
71 |
|
72 |
submit_button.click(synthesize_speech, inputs=input_text, outputs=[output_audio])
|
|
|
66 |
# Using Gradio Blocks
|
67 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
68 |
input_text = gr.Textbox(label="Input")
|
69 |
+
output_audio = gr.Audio(label="Output", type="numpy")
|
70 |
submit_button = gr.Button("Synthesize")
|
71 |
|
72 |
submit_button.click(synthesize_speech, inputs=input_text, outputs=[output_audio])
|