Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
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 |
|