Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,9 +65,9 @@ def synthesize_speech(text):
|
|
| 65 |
|
| 66 |
# Using Gradio Blocks
|
| 67 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
| 68 |
-
gr.Markdown("# Text to Speech Synthesizer")
|
| 69 |
-
gr.Markdown("Enter text to synthesize it into speech using
|
| 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")
|
|
|
|
| 65 |
|
| 66 |
# Using Gradio Blocks
|
| 67 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
| 68 |
+
gr.Markdown("# Persian Text to Speech Synthesizer")
|
| 69 |
+
gr.Markdown("Enter text to synthesize it into speech using Piper+Hazm")
|
| 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")
|