ubermenchh commited on
Commit
a232914
1 Parent(s): 081a3ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- 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
 
 
48
  question = gr.Textbox(label='Question', placeholder='Type your query...')
49
  submit_btn = gr.Button('Submit')
50
 
51
+ load_website.click(load_url, 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