DrDavis commited on
Commit
bf681d3
·
verified ·
1 Parent(s): 8bb76f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="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
+ 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(