Akjava commited on
Commit
18b6565
·
verified ·
1 Parent(s): 669f26f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -62,7 +62,10 @@ with gr.Blocks(title="LLM with TTS",head=head) as demo:
62
  chatbot = gr.Chatbot(type="messages")
63
  chatbot.change(None,[chatbot],[],js=js)
64
  msg = gr.Textbox()
65
- clear = gr.ClearButton([msg, chatbot])
 
 
 
66
  gr.HTML("""
67
  <br>
68
  <div id="footer">
 
62
  chatbot = gr.Chatbot(type="messages")
63
  chatbot.change(None,[chatbot],[],js=js)
64
  msg = gr.Textbox()
65
+ with gr.Row():
66
+ clear = gr.ClearButton([msg, chatbot])
67
+ submit = gr.Button("Submit").click(call_generate_text, inputs=[msg, chatbot], outputs=[msg,chatbot])
68
+
69
  gr.HTML("""
70
  <br>
71
  <div id="footer">