Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def synthesize_speech(text):
|
|
67 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
68 |
input_text = gr.Textbox(label="Input")
|
69 |
output_audio = gr.Audio(label="Output", type="filepath")
|
70 |
-
output_text = gr.Textbox(label="Output Text"
|
71 |
submit_button = gr.Button("Synthesize")
|
72 |
|
73 |
submit_button.click(synthesize_speech, inputs=input_text, outputs=[output_audio, output_text])
|
|
|
67 |
with gr.Blocks(theme=gr.themes.Base()) as blocks:
|
68 |
input_text = gr.Textbox(label="Input")
|
69 |
output_audio = gr.Audio(label="Output", type="filepath")
|
70 |
+
output_text = gr.Textbox(label="Output Text") # This is the new text output component
|
71 |
submit_button = gr.Button("Synthesize")
|
72 |
|
73 |
submit_button.click(synthesize_speech, inputs=input_text, outputs=[output_audio, output_text])
|