lewisliuX123 commited on
Commit
32439b0
·
1 Parent(s): 6ba5e8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,9 +19,9 @@ bot = ChatCompletion(api_key=api_key)
19
  with gr.Blocks(title=args.title) as demo:
20
  chatbot = gr.Chatbot(show_label=False)
21
  msg = gr.TextArea(show_label=False, placeholder=args.welcome)
22
- send_btn = gr.Button('Send')
23
- retry_btn = gr.Button('Retry')
24
- reset_btn = gr.Button('Reset')
25
 
26
  def send(user_message, history):
27
  if not user_message:
 
19
  with gr.Blocks(title=args.title) as demo:
20
  chatbot = gr.Chatbot(show_label=False)
21
  msg = gr.TextArea(show_label=False, placeholder=args.welcome)
22
+ send_btn = gr.Button('发送')
23
+ retry_btn = gr.Button('重试')
24
+ reset_btn = gr.Button('清空')
25
 
26
  def send(user_message, history):
27
  if not user_message: