ClueAI commited on
Commit
3e60759
β€’
1 Parent(s): 5cb40c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -57,9 +57,9 @@ with block as demo:
57
  state = gr.State()
58
  message.submit(chatyuan_bot, inputs=[message, state], outputs=[chatbot, state])
59
  with gr.Row():
60
- clear_history = gr.Button("πŸ‘‹ ζΈ…ι™€εŽ†ε²ε―Ήθ―|Clear")
61
- clear = gr.Button('🧹 清陀发送摆|Clear Input')
62
- send = gr.Button("πŸš€ 发送|Send")
63
 
64
  send.click(chatyuan_bot, inputs=[message, state], outputs=[chatbot, state])
65
  clear.click(lambda: None, None, message, queue=False)
@@ -110,9 +110,9 @@ with block as demo_1:
110
  state = gr.State()
111
  message.submit(chatyuan_bot_api, inputs=[api_key,message, state], outputs=[chatbot, state])
112
  with gr.Row():
113
- clear_history = gr.Button("πŸ‘‹ ζΈ…ι™€εŽ†ε²ε―Ήθ―|Clear Context")
114
- clear = gr.Button('🧹 清陀发送摆 |Clear Input')
115
- send = gr.Button("πŸš€ 发送|Send")
116
 
117
  send.click(chatyuan_bot_api, inputs=[api_key,message, state], outputs=[chatbot, state])
118
  clear.click(lambda: None, None, message, queue=False)
 
57
  state = gr.State()
58
  message.submit(chatyuan_bot, inputs=[message, state], outputs=[chatbot, state])
59
  with gr.Row():
60
+ clear_history = gr.Button("πŸ‘‹ ζΈ…ι™€εŽ†ε²ε―Ήθ― | Clear")
61
+ clear = gr.Button('🧹 清陀发送摆 | Clear Input')
62
+ send = gr.Button("πŸš€ 发送 | Send")
63
 
64
  send.click(chatyuan_bot, inputs=[message, state], outputs=[chatbot, state])
65
  clear.click(lambda: None, None, message, queue=False)
 
110
  state = gr.State()
111
  message.submit(chatyuan_bot_api, inputs=[api_key,message, state], outputs=[chatbot, state])
112
  with gr.Row():
113
+ clear_history = gr.Button("πŸ‘‹ ζΈ…ι™€εŽ†ε²ε―Ήθ― | Clear Context")
114
+ clear = gr.Button('🧹 清陀发送摆 | Clear Input')
115
+ send = gr.Button("πŸš€ 发送 | Send")
116
 
117
  send.click(chatyuan_bot_api, inputs=[api_key,message, state], outputs=[chatbot, state])
118
  clear.click(lambda: None, None, message, queue=False)