Update app.py
Browse files
app.py
CHANGED
@@ -217,18 +217,16 @@ with gr.Blocks(
|
|
217 |
)
|
218 |
chatbot = gr.Chatbot().style(height=500)
|
219 |
with gr.Row():
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
stop = gr.Button("Stop")
|
231 |
-
clear = gr.Button("Clear")
|
232 |
with gr.Row():
|
233 |
with gr.Accordion("Advanced Options:", open=False):
|
234 |
with gr.Row():
|
|
|
217 |
)
|
218 |
chatbot = gr.Chatbot().style(height=500)
|
219 |
with gr.Row():
|
220 |
+
msg = gr.Textbox(
|
221 |
+
label="Chat Message Box",
|
222 |
+
placeholder="Chat Message Box",
|
223 |
+
show_label=False,
|
224 |
+
).style(container=False)
|
225 |
+
with gr.Row():
|
226 |
+
single_submit = gr.Button("单轮")
|
227 |
+
multi_submit = gr.Button("多轮")
|
228 |
+
stop = gr.Button("Stop")
|
229 |
+
clear = gr.Button("Clear")
|
|
|
|
|
230 |
with gr.Row():
|
231 |
with gr.Accordion("Advanced Options:", open=False):
|
232 |
with gr.Row():
|