alexkueck commited on
Commit
be88333
·
verified ·
1 Parent(s): a6b7a2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -647,8 +647,7 @@ with gr.Blocks(css=customCSS, theme=themeAlex) as demo:
647
  renew_button.click(fn=upload_pdf, inputs=upload_pdf_files, outputs=[output_text, file_list]).then(
648
  fn=update_vectorstore, inputs=None, outputs=output_text).then(
649
  fn=reset_file_input, inputs=None, outputs=upload_pdf_files).then(
650
- fn=lambda: gr.Popup("Prozess erfolgreich abgeschlossen!", title="Fertig", type="success"), inputs=None, outputs=gr.Popup()
651
- )
652
  demo.load(display_files, outputs=file_list)
653
 
654
  demo.title = "KKG-Suche"
 
647
  renew_button.click(fn=upload_pdf, inputs=upload_pdf_files, outputs=[output_text, file_list]).then(
648
  fn=update_vectorstore, inputs=None, outputs=output_text).then(
649
  fn=reset_file_input, inputs=None, outputs=upload_pdf_files).then(
650
+ fn=lambda: gr.Notification("System-Aktualisierung erfolgreich abgeschlossen!", title="Fertig", type="info"), inputs=None)
 
651
  demo.load(display_files, outputs=file_list)
652
 
653
  demo.title = "KKG-Suche"