DLI-SLQ commited on
Commit
3957f90
·
verified ·
1 Parent(s): f1ad4b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,10 +50,10 @@ with gr.Blocks(theme=gr.themes.Base()) as blocks:
50
  gr.Markdown("# Text to Speech Synthesizer")
51
  gr.Markdown("Enter text to synthesize it into speech using models from the State Library of Queensland's collection using Piper.")
52
  input_text = gr.Textbox(label="Input Text")
53
- output_audio = gr.Audio(label="Synthesized Speech", type="numpy")
54
  output_text = gr.Textbox(label="Output Text", visible=False)
55
  submit_button = gr.Button("Synthesize")
56
- show_download_button = False
57
 
58
  def process_and_output(text):
59
  audio, message = synthesize_speech(text)
 
50
  gr.Markdown("# Text to Speech Synthesizer")
51
  gr.Markdown("Enter text to synthesize it into speech using models from the State Library of Queensland's collection using Piper.")
52
  input_text = gr.Textbox(label="Input Text")
53
+ output_audio = gr.Audio(label="Synthesized Speech", type="numpy", show_download_button=False)
54
  output_text = gr.Textbox(label="Output Text", visible=False)
55
  submit_button = gr.Button("Synthesize")
56
+
57
 
58
  def process_and_output(text):
59
  audio, message = synthesize_speech(text)