Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ with gr.Blocks(css=css,theme=gr.themes.Monochrome()) as demo:
|
|
59 |
output = gr.Textbox(label="output")
|
60 |
submit_query = gr.Button("submit")
|
61 |
|
62 |
-
load_pdf.click(load_pdf,inputs=pdf_doc,outputs=status)
|
63 |
|
64 |
submit_query.click(answer_query,input,output)
|
65 |
|
|
|
59 |
output = gr.Textbox(label="output")
|
60 |
submit_query = gr.Button("submit")
|
61 |
|
62 |
+
load_pdf.click(load_pdf,inputs=[pdf_doc, openai_key],outputs=status)
|
63 |
|
64 |
submit_query.click(answer_query,input,output)
|
65 |
|