Manglik-R commited on
Commit
30dc126
·
verified ·
1 Parent(s): 14b50e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ with gr.Blocks(css=css) as demo:
88
  with gr.Column(elem_id="col-container"):
89
  gr.HTML(title)
90
  with gr.Column():
91
- pdf_doc = gr.File(label="Load a PDF", file_types=['.pdf'], type="file")
92
  load_pdf = gr.Button("Load PDF")
93
  langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
94
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
 
88
  with gr.Column(elem_id="col-container"):
89
  gr.HTML(title)
90
  with gr.Column():
91
+ pdf_doc = gr.File(label="Load a PDF", file_types=['.pdf'], type="filepath")
92
  load_pdf = gr.Button("Load PDF")
93
  langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
94
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)