seawolf2357 commited on
Commit
0fdeb5f
ยท
verified ยท
1 Parent(s): e51a8ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -846,16 +846,13 @@ with gr.Blocks(css_paths="app.css",theme=theme) as demo:
846
  outputs=[history]
847
  )
848
 
 
 
849
  if __name__ == "__main__":
850
  try:
851
- init_db()
852
- clear_expired_sessions()
853
  demo_instance = Demo()
854
  demo.queue(default_concurrency_limit=20).launch(ssr_mode=False)
855
  except Exception as e:
856
  print(f"Initialization error: {e}")
857
  raise
858
 
859
-
860
-
861
-
 
846
  outputs=[history]
847
  )
848
 
849
+ # ๋งˆ์ง€๋ง‰ ๋ถ€๋ถ„์„ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•˜์„ธ์š”
850
+
851
  if __name__ == "__main__":
852
  try:
 
 
853
  demo_instance = Demo()
854
  demo.queue(default_concurrency_limit=20).launch(ssr_mode=False)
855
  except Exception as e:
856
  print(f"Initialization error: {e}")
857
  raise
858