Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,12 +7,12 @@ def answer_doc_question(pdf_file, question):
|
|
| 7 |
|
| 8 |
# Add default a file and question, so it's easy to try out the app.
|
| 9 |
pdf_input = gr.File(
|
| 10 |
-
value="
|
| 11 |
file_types=[".pdf"],
|
| 12 |
label="Upload a PDF document and ask a question about it.",
|
| 13 |
)
|
| 14 |
question = gr.Textbox(
|
| 15 |
-
value="
|
| 16 |
label="Type a question regarding the uploaded document here.",
|
| 17 |
)
|
| 18 |
gr.Interface(
|
|
|
|
| 7 |
|
| 8 |
# Add default a file and question, so it's easy to try out the app.
|
| 9 |
pdf_input = gr.File(
|
| 10 |
+
value=""
|
| 11 |
file_types=[".pdf"],
|
| 12 |
label="Upload a PDF document and ask a question about it.",
|
| 13 |
)
|
| 14 |
question = gr.Textbox(
|
| 15 |
+
value="",
|
| 16 |
label="Type a question regarding the uploaded document here.",
|
| 17 |
)
|
| 18 |
gr.Interface(
|