sahilp21 commited on
Commit
9679740
1 Parent(s): b436fb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def answer_question(api_key, pdf_path, question):
31
 
32
  # Create the interface
33
  api_key_input = gr.inputs.Textbox(label="API Key", type='password')
34
- pdf_path_input = gr.inputs.File(label="PDF File")
35
  question_input = gr.inputs.Textbox(label="Question")
36
  output = gr.outputs.Textbox(label="Answer")
37
 
 
31
 
32
  # Create the interface
33
  api_key_input = gr.inputs.Textbox(label="API Key", type='password')
34
+ pdf_path_input = gr.inputs.Textbox(label="PDF File Path")
35
  question_input = gr.inputs.Textbox(label="Question")
36
  output = gr.outputs.Textbox(label="Answer")
37