fffiloni commited on
Commit
89a7ab3
1 Parent(s): b513376

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,12 +61,12 @@ with gr.Blocks(css=css) as demo:
61
  with gr.Column():
62
  pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
63
  with gr.Row():
64
- langchain_status = gr.Textbox(placeholder="Status", interactive=False)
65
  load_pdf = gr.Button("Load pdf to langchain")
66
 
67
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
68
  with gr.Row():
69
- question = gr.Textbox(placeholder="Type your question and hit Enter ")
70
 
71
  load_pdf.click(pdf_changes, pdf_doc, langchain_status, queue=False)
72
  question.submit(add_text, [chatbot, question], [chatbot, question]).then(
 
61
  with gr.Column():
62
  pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
63
  with gr.Row():
64
+ langchain_status = gr.Textbox(label=None, placeholder="Status", interactive=False)
65
  load_pdf = gr.Button("Load pdf to langchain")
66
 
67
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
68
  with gr.Row():
69
+ question = gr.Textbox(lable=None, placeholder="Type your question and hit Enter ")
70
 
71
  load_pdf.click(pdf_changes, pdf_doc, langchain_status, queue=False)
72
  question.submit(add_text, [chatbot, question], [chatbot, question]).then(