aigmixer commited on
Commit
0ffd897
·
1 Parent(s): c24b41a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ with gr.Blocks(theme=gr.themes.Base()) as blocks:
41
  gr.Markdown("Enter text to synthesize it into speech using PiperVoice.")
42
  input_text = gr.Textbox(label="Input Text")
43
  output_audio = gr.Audio(label="Synthesized Speech", type="numpy")
44
- output_text = gr.Textbox(label="Output Text", visible=True) # This is the new text output component
45
  submit_button = gr.Button("Synthesize")
46
 
47
  submit_button.click(synthesize_speech, inputs=input_text, outputs=[output_audio, output_text])
 
41
  gr.Markdown("Enter text to synthesize it into speech using PiperVoice.")
42
  input_text = gr.Textbox(label="Input Text")
43
  output_audio = gr.Audio(label="Synthesized Speech", type="numpy")
44
+ output_text = gr.Textbox(label="Output Text", visible=False) # This is the new text output component
45
  submit_button = gr.Button("Synthesize")
46
 
47
  submit_button.click(synthesize_speech, inputs=input_text, outputs=[output_audio, output_text])