heisenberg3376 commited on
Commit
8ba6fe8
1 Parent(s): 89af144

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ interface = gr.Interface(
60
  fn=chat_with_pdf,
61
  inputs=[
62
  gr.Textbox(lines=2, placeholder="Enter your question here..."),
63
- gr.File(type="file", file_types=[".pdf"], label="Upload PDF"),
64
  ],
65
  outputs=gr.Textbox(label="Answer"),
66
  title="Chat with PDF",
 
60
  fn=chat_with_pdf,
61
  inputs=[
62
  gr.Textbox(lines=2, placeholder="Enter your question here..."),
63
+ gr.File(type="filepath", file_types=[".pdf"], label="Upload PDF"),
64
  ],
65
  outputs=gr.Textbox(label="Answer"),
66
  title="Chat with PDF",