Update app.py
Browse files
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])
|