Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def synthesize_speech(text):
|
|
| 36 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
| 37 |
gr.Markdown("# Persian Text to Speech Synthesizer")
|
| 38 |
gr.Markdown("Enter text to synthesize it into speech using Piper With Persian gyro Model :")
|
| 39 |
-
input_text = gr.Textbox(rtl=True , text_align="right" )
|
| 40 |
output_audio = gr.Audio(label="Synthesized Speech", type="numpy")
|
| 41 |
output_text = gr.Textbox(label="Output Text", visible=False, rtl=True) # This is the new text output component
|
| 42 |
submit_button = gr.Button("Synthesize")
|
|
|
|
| 36 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
| 37 |
gr.Markdown("# Persian Text to Speech Synthesizer")
|
| 38 |
gr.Markdown("Enter text to synthesize it into speech using Piper With Persian gyro Model :")
|
| 39 |
+
input_text = gr.Textbox(label=" ", rtl=True , text_align="right" )
|
| 40 |
output_audio = gr.Audio(label="Synthesized Speech", type="numpy")
|
| 41 |
output_text = gr.Textbox(label="Output Text", visible=False, rtl=True) # This is the new text output component
|
| 42 |
submit_button = gr.Button("Synthesize")
|