Bofandra commited on
Commit
48208a5
·
verified ·
1 Parent(s): 7f8ff79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -86,7 +86,9 @@ with gr.Blocks() as demo:
86
  with gr.Sidebar():
87
  gr.LoginButton()
88
  pdf_upload = gr.File(label="Upload PDF", file_types=[".pdf"])
89
- pdf_upload.upload(process_pdf, inputs=pdf_upload, outputs=[])
 
 
90
  chatbot.render()
91
 
92
 
 
86
  with gr.Sidebar():
87
  gr.LoginButton()
88
  pdf_upload = gr.File(label="Upload PDF", file_types=[".pdf"])
89
+ status = gr.Textbox(label="Status", interactive=False)
90
+ pdf_upload.upload(process_pdf, inputs=pdf_upload, outputs=status)
91
+
92
  chatbot.render()
93
 
94