Update app.py
Browse files
app.py
CHANGED
@@ -602,7 +602,7 @@ with gr.Blocks(css=customCSS, theme=themeAlex) as demo:
|
|
602 |
upload_pdf_files.change(fn=upload_pdf, inputs=upload_pdf_files, outputs=[output_text, file_list]) #, postprocess=display_files)
|
603 |
renew_button.click(fn=renew_vectorstore, outputs=output_text)
|
604 |
#gr.HTML(update=display_files, elem_id="file_list", show_label=False)
|
605 |
-
|
606 |
|
607 |
|
608 |
"""
|
|
|
602 |
upload_pdf_files.change(fn=upload_pdf, inputs=upload_pdf_files, outputs=[output_text, file_list]) #, postprocess=display_files)
|
603 |
renew_button.click(fn=renew_vectorstore, outputs=output_text)
|
604 |
#gr.HTML(update=display_files, elem_id="file_list", show_label=False)
|
605 |
+
demo.load(display_files, outputs=file_list)
|
606 |
|
607 |
|
608 |
"""
|