Spaces:
Runtime error
Runtime error
ubermenchh
commited on
Commit
•
081a3ea
1
Parent(s):
d774b8a
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ with gr.Blocks(theme='WeixuanYuan/Soft_dark') as demo:
|
|
48 |
question = gr.Textbox(label='Question', placeholder='Type your query...')
|
49 |
submit_btn = gr.Button('Submit')
|
50 |
|
51 |
-
|
52 |
question.submit(add_text, [chatbot, question], [chatbot, question]).then(bot, chatbot, chatbot)
|
53 |
submit_btn.click(add_text, [chatbot, question], [chatbot, question]).then(bot, chatbot, chatbot)
|
54 |
|
|
|
48 |
question = gr.Textbox(label='Question', placeholder='Type your query...')
|
49 |
submit_btn = gr.Button('Submit')
|
50 |
|
51 |
+
load_website.click(load_website, inputs=[web_address], outputs=[website_status], queue=False)
|
52 |
question.submit(add_text, [chatbot, question], [chatbot, question]).then(bot, chatbot, chatbot)
|
53 |
submit_btn.click(add_text, [chatbot, question], [chatbot, question]).then(bot, chatbot, chatbot)
|
54 |
|