Spaces:
Sleeping
Sleeping
heisenberg3376
commited on
Commit
•
8ba6fe8
1
Parent(s):
89af144
Update app.py
Browse files
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="
|
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",
|