stefanbschneider commited on
Commit
5f87fbe
1 Parent(s): e1d6cee

add label for pdf input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,6 +26,6 @@ def answer_doc_question(pdf_file, question):
26
  return answer["answer"]
27
 
28
 
29
- pdf_input = gr.File(file_types=[".pdf"])
30
  question = gr.Textbox(label="Type a question regarding the uploaded document here.")
31
  gr.Interface(fn=answer_doc_question, inputs=[pdf_input, question], outputs="text").launch()
 
26
  return answer["answer"]
27
 
28
 
29
+ pdf_input = gr.File(file_types=[".pdf"], label="Upload a PDF document and ask a question about it.")
30
  question = gr.Textbox(label="Type a question regarding the uploaded document here.")
31
  gr.Interface(fn=answer_doc_question, inputs=[pdf_input, question], outputs="text").launch()