Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -157,11 +157,11 @@ with gr.Blocks() as demo:
|
|
157 |
with gr.Tab("Token generation"):
|
158 |
text_input = gr.Textbox()
|
159 |
text_output = gr.Textbox()
|
160 |
-
text_button = gr.
|
161 |
with gr.Tab("Audio generation"):
|
162 |
text_input = gr.Textbox()
|
163 |
audio_output = gr.Audio()
|
164 |
-
audio_button = gr.
|
165 |
|
166 |
text_button.click(generation, inputs=text_input, outputs=text_output)
|
167 |
audio_button.click(process, inputs=text_input, outputs=audio_output)
|
|
|
157 |
with gr.Tab("Token generation"):
|
158 |
text_input = gr.Textbox()
|
159 |
text_output = gr.Textbox()
|
160 |
+
text_button = gr.Button("generate tokens")
|
161 |
with gr.Tab("Audio generation"):
|
162 |
text_input = gr.Textbox()
|
163 |
audio_output = gr.Audio()
|
164 |
+
audio_button = gr.Button("generate audio")
|
165 |
|
166 |
text_button.click(generation, inputs=text_input, outputs=text_output)
|
167 |
audio_button.click(process, inputs=text_input, outputs=audio_output)
|