Update app.py
Browse files
app.py
CHANGED
@@ -652,7 +652,7 @@ with gr.Blocks(css=customCSS, theme=themeAlex) as demo:
|
|
652 |
renew_button.click(fn=upload_pdf, inputs=upload_pdf_files, outputs=[output_text, file_list]).then(
|
653 |
fn=update_vectorstore, inputs=None, outputs=output_text).then(
|
654 |
fn=reset_file_input, inputs=None, outputs=upload_pdf_files).then(
|
655 |
-
fn= show_notification,
|
656 |
demo.load(display_files, outputs=file_list)
|
657 |
|
658 |
demo.title = "KKG-Suche"
|
|
|
652 |
renew_button.click(fn=upload_pdf, inputs=upload_pdf_files, outputs=[output_text, file_list]).then(
|
653 |
fn=update_vectorstore, inputs=None, outputs=output_text).then(
|
654 |
fn=reset_file_input, inputs=None, outputs=upload_pdf_files).then(
|
655 |
+
fn= show_notification, inputs=None) #lambda: gr.Notification("System-Aktualisierung erfolgreich abgeschlossen!"
|
656 |
demo.load(display_files, outputs=file_list)
|
657 |
|
658 |
demo.title = "KKG-Suche"
|