timep12345 commited on
Commit
0b8eb3e
·
1 Parent(s): 279837e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,8 +85,8 @@ with gr.Blocks(css=css) as demo:
85
  question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
86
  submit_btn = gr.Button("Send message")
87
  #load_pdf.click(loading_pdf, None, langchain_status, queue=False)
88
- repo_id.change(url_changes, inputs=[target_url, gr.Number(value=20, visible=False), gr.Number(value=200, visible=False), repo_id], outputs=[langchain_status], queue=False)
89
- load_pdf.click(url_changes, inputs=[target_url, gr.Number(value=20, visible=False), gr.Number(value=200, visible=False), repo_id], outputs=[langchain_status], queue=False)
90
  question.submit(add_text, [chatbot, question], [chatbot, question]).then(
91
  bot, chatbot, chatbot
92
  )
 
85
  question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
86
  submit_btn = gr.Button("Send message")
87
  #load_pdf.click(loading_pdf, None, langchain_status, queue=False)
88
+ repo_id.change(url_changes, inputs=[target_url, gr.Number(value=5, visible=False), gr.Number(value=50, visible=False), repo_id], outputs=[langchain_status], queue=False)
89
+ load_pdf.click(url_changes, inputs=[target_url, gr.Number(value=5, visible=False), gr.Number(value=50, visible=False), repo_id], outputs=[langchain_status], queue=False)
90
  question.submit(add_text, [chatbot, question], [chatbot, question]).then(
91
  bot, chatbot, chatbot
92
  )