Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,9 @@ with gr.Blocks(title="LLM with TTS",head=head) as demo:
|
|
109 |
chatbot = gr.Chatbot(type="messages")
|
110 |
chatbot.change(None,[chatbot],[],js=js)
|
111 |
msg = gr.Textbox()
|
112 |
-
|
|
|
|
|
113 |
gr.HTML("""
|
114 |
<br>
|
115 |
<div id="footer">
|
|
|
109 |
chatbot = gr.Chatbot(type="messages")
|
110 |
chatbot.change(None,[chatbot],[],js=js)
|
111 |
msg = gr.Textbox()
|
112 |
+
with gr.Row():
|
113 |
+
submit = gr.Button(call_generate_text,[msg, chatbot],[msg, chatbot])
|
114 |
+
clear = gr.ClearButton([msg, chatbot])
|
115 |
gr.HTML("""
|
116 |
<br>
|
117 |
<div id="footer">
|