zhaokeyao1 commited on
Commit
6555932
1 Parent(s): 90da432

Update button

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,8 +127,8 @@ with gr.Blocks(css="#chatbot{height:350px} .overflow-y-auto{height:600px}") as d
127
  user_in_txt = gr.Textbox(lines=3, label="User role content:", placeholder="Enter text...", container=False)
128
 
129
  with gr.Row():
130
- submit_button = gr.Button("Reset")
131
- reset_button = gr.Button("Submit")
132
 
133
  submit_button.click(predict, [system_in_txt, password_in_txt, user_in_file, user_in_txt, conversation], [chatbot, conversation, user_in_txt])
134
  reset_button.click(clear_history, [conversation], [chatbot, conversation], queue=False)
 
127
  user_in_txt = gr.Textbox(lines=3, label="User role content:", placeholder="Enter text...", container=False)
128
 
129
  with gr.Row():
130
+ reset_button = gr.Button("Reset")
131
+ submit_button = gr.Button("Submit")
132
 
133
  submit_button.click(predict, [system_in_txt, password_in_txt, user_in_file, user_in_txt, conversation], [chatbot, conversation, user_in_txt])
134
  reset_button.click(clear_history, [conversation], [chatbot, conversation], queue=False)