Astridkraft commited on
Commit
6fbb4c7
·
verified ·
1 Parent(s): b428d2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -809,6 +809,18 @@ def main_ui():
809
  outputs=info_components
810
  )
811
 
 
 
 
 
 
 
 
 
 
 
 
 
812
  return demo
813
 
814
 
 
809
  outputs=info_components
810
  )
811
 
812
+ # ZUSÄTZLICHER FIX: Deaktiviere initiale Events
813
+ with gr.Blocks() as temp_block:
814
+ pass
815
+
816
+ # Setze die Event-Handler erst NACH der Initialisierung
817
+ demo.load(
818
+ fn=lambda: None,
819
+ inputs=None,
820
+ outputs=None,
821
+ queue=False
822
+ )
823
+
824
  return demo
825
 
826