DrDavis commited on
Commit
7ccd413
·
verified ·
1 Parent(s): 9563e60

Update app.py

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="",
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(