lekkalar commited on
Commit
bb56ef0
1 Parent(s): 06a82b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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