Katpeeler commited on
Commit
0bb43b1
·
1 Parent(s): 0e7e42d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.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)
 
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)