Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,13 +85,11 @@ if __name__ == '__main__':
|
|
85 |
app = gr.Blocks()
|
86 |
|
87 |
with app:
|
88 |
-
with gr.
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
tts_output2 = gr.Audio(label="Output Audio")
|
94 |
-
|
95 |
tts_submit.click(tts_fn, [tts_input1, tts_input2], [tts_output1, tts_output2])
|
96 |
|
97 |
app.launch()
|
|
|
85 |
app = gr.Blocks()
|
86 |
|
87 |
with app:
|
88 |
+
with gr.Column():
|
89 |
+
tts_input1 = gr.TextArea(label="Text (150 words limitation)", value="γγγ«γ‘γ―γ")
|
90 |
+
tts_submit = gr.Button("Generate", variant="primary")
|
91 |
+
tts_output1 = gr.Textbox(label="Output Message")
|
92 |
+
tts_output2 = gr.Audio(label="Output Audio")
|
|
|
|
|
93 |
tts_submit.click(tts_fn, [tts_input1, tts_input2], [tts_output1, tts_output2])
|
94 |
|
95 |
app.launch()
|