DrDavis commited on
Commit
b56accb
·
2 Parent(s): 68371ad 7ccd413

Merge branch 'main' of https://huggingface.co/spaces/DrDavis/question-answer

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -7,12 +7,10 @@ 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="https://comptroller.defense.gov/Portals/45/Documents/defbudget/FY2025/FY2025_Budget_Request.pdf",
11
  file_types=[".pdf"],
12
  label="Upload a PDF document and ask a question about it.",
13
  )
14
  question = gr.Textbox(
15
- value="What is the grand total (AC + RC) amount for FY 2025 Request?",
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
  file_types=[".pdf"],
11
  label="Upload a PDF document and ask a question about it.",
12
  )
13
  question = gr.Textbox(
 
14
  label="Type a question regarding the uploaded document here.",
15
  )
16
  gr.Interface(