gyroing commited on
Commit
229de2b
·
verified ·
1 Parent(s): 3b3b4d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(label=":Enter the text in Farsi")
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 )
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")