Update app.py
Browse files
app.py
CHANGED
@@ -41,9 +41,9 @@ with gr.Blocks() as demo:
|
|
41 |
password = gr.Textbox(placeholder="请输入openAI的登录密码")
|
42 |
with gr.Row():
|
43 |
login = gr.Button("输完箱密点此登录")
|
44 |
-
login.click(configure_chatbot
|
45 |
|
46 |
-
gr.Markdown("""<h2>开始聊吧 ...</h2>""")
|
47 |
chatbot1 = gr.Chatbot()
|
48 |
message = gr.Textbox(placeholder="Chat here")
|
49 |
state = gr.State()
|
|
|
41 |
password = gr.Textbox(placeholder="请输入openAI的登录密码")
|
42 |
with gr.Row():
|
43 |
login = gr.Button("输完箱密点此登录")
|
44 |
+
login.click(configure_chatbot(email,password))
|
45 |
|
46 |
+
gr.Markdown("""<h2>开始聊吧 ...</h2>""")
|
47 |
chatbot1 = gr.Chatbot()
|
48 |
message = gr.Textbox(placeholder="Chat here")
|
49 |
state = gr.State()
|