Wootang01 commited on
Commit
8cbc135
1 Parent(s): 80a4cc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ with gr.Blocks(css=css,theme=gr.themes.Monochrome()) as demo:
33
  gr.HTML(html)
34
  with gr.Column():
35
  gr.Markdown('ChatPDF')
36
- pdf_doc = gr.File(label="Load a pdf",file_types=['.pdf','.docx'],type='file')
37
  with gr.Row():
38
  load_pdf = gr.Button('Load pdf file')
39
  status = gr.Textbox(label="Status",placeholder='',interactive=False)
 
33
  gr.HTML(html)
34
  with gr.Column():
35
  gr.Markdown('ChatPDF')
36
+ pdf_doc = gr.File(label="Load a pdf",file_types=['.pdf','.docx'],type='filepath')
37
  with gr.Row():
38
  load_pdf = gr.Button('Load pdf file')
39
  status = gr.Textbox(label="Status",placeholder='',interactive=False)