Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,13 +92,13 @@ with gr.Blocks() as demo:
|
|
92 |
|
93 |
# Place Reset on the Left and Submit on the Right
|
94 |
with gr.Row():
|
95 |
-
#
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
# Define button click actions
|
103 |
submit.click(fn=chatbot, inputs=user_input, outputs=output)
|
104 |
reset.click(fn=reset_output, inputs=None, outputs=output)
|
|
|
92 |
|
93 |
# Place Reset on the Left and Submit on the Right
|
94 |
with gr.Row():
|
95 |
+
# Left Column for Reset
|
96 |
+
with gr.Column(scale=1):
|
97 |
+
reset = gr.Button(chatbot_reset_button, variant="secondary")
|
98 |
+
# Right Column for Submit
|
99 |
+
with gr.Column(scale=1):
|
100 |
+
submit = gr.Button(chatbot_submit_button, variant="primary")
|
101 |
+
|
102 |
# Define button click actions
|
103 |
submit.click(fn=chatbot, inputs=user_input, outputs=output)
|
104 |
reset.click(fn=reset_output, inputs=None, outputs=output)
|