Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,10 +65,8 @@ def synthesize_speech(text):
|
|
| 65 |
|
| 66 |
# Using Gradio Blocks
|
| 67 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
| 68 |
-
gr.
|
| 69 |
-
gr.
|
| 70 |
-
input_text = gr.Textbox(label="ورود متن")
|
| 71 |
-
output_audio = gr.Audio(label="Synthesized Speech", type="numpy")
|
| 72 |
output_text = gr.Textbox(label="Output Text", visible=False) # This is the new text output component
|
| 73 |
submit_button = gr.Button("Synthesize")
|
| 74 |
|
|
|
|
| 65 |
|
| 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="filepath")
|
|
|
|
|
|
|
| 70 |
output_text = gr.Textbox(label="Output Text", visible=False) # This is the new text output component
|
| 71 |
submit_button = gr.Button("Synthesize")
|
| 72 |
|