zss2341 commited on
Commit
dee41c7
·
1 Parent(s): 3a938b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ with gr.Blocks() as demo:
44
 
45
  gr.Markdown("""<h2>点完登录就开始聊吧 ...</h2>""")
46
  chatbot1 = gr.Chatbot()
47
- message = gr.Textbox(placeholder="聊天窗口")
48
  state = gr.State()
49
  submit = gr.Button("输入后点击这里发送")
50
  submit.click(chatgpt_clone, inputs=[message, state], outputs=[chatbot1, state])
 
44
 
45
  gr.Markdown("""<h2>点完登录就开始聊吧 ...</h2>""")
46
  chatbot1 = gr.Chatbot()
47
+ message = gr.Textbox(placeholder="点这个框输入聊天内容", label="人类:")
48
  state = gr.State()
49
  submit = gr.Button("输入后点击这里发送")
50
  submit.click(chatgpt_clone, inputs=[message, state], outputs=[chatbot1, state])