Spaces:
Sleeping
Sleeping
ASG Models
commited on
Commit
•
96d634e
1
Parent(s):
11fbfbc
Update app.py
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ with gr.Blocks() as demo:
|
|
238 |
gr.Markdown("# Text to Speech")
|
239 |
text_input = gr.Textbox(label="Enter Text")
|
240 |
text_out = gr.Textbox()
|
241 |
-
text_input.submit(dash, [text_input], text_out)
|
242 |
with gr.Tab("AI Speech"):
|
243 |
gr.Markdown("# Text to Speech")
|
244 |
text_input2 = gr.Textbox(label="Enter Text")
|
|
|
238 |
gr.Markdown("# Text to Speech")
|
239 |
text_input = gr.Textbox(label="Enter Text")
|
240 |
text_out = gr.Textbox()
|
241 |
+
text_input.submit(lambda text:dash(text,True), [text_input], text_out)
|
242 |
with gr.Tab("AI Speech"):
|
243 |
gr.Markdown("# Text to Speech")
|
244 |
text_input2 = gr.Textbox(label="Enter Text")
|