Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
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">
|