Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
|
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=
|
55 |
submit_button = gr.Button("Synthesize")
|
56 |
|
57 |
def process_and_output(text):
|
|
|
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 |
|
57 |
def process_and_output(text):
|