ใ……ใ…Žใ…‡ commited on
Commit
f4f7c2d
ยท
1 Parent(s): e4e2384

Add server_kwargs to increase timeout_keep_alive to 120 seconds for SSL connection stability

Browse files
Files changed (1) hide show
  1. CodeWeaver/ui/app.py +4 -1
CodeWeaver/ui/app.py CHANGED
@@ -361,6 +361,9 @@ if __name__ == "__main__":
361
  server_name="0.0.0.0",
362
  server_port=7860,
363
  share=False,
364
- theme=gr.themes.Soft()
 
 
 
365
  # CSS๋Š” Blocks ์ƒ์„ฑ์ž์— ์ „๋‹ฌ๋จ
366
  )
 
361
  server_name="0.0.0.0",
362
  server_port=7860,
363
  share=False,
364
+ theme=gr.themes.Soft(),
365
+ server_kwargs={
366
+ "timeout_keep_alive": 120, # ์œ ํœด ์—ฐ๊ฒฐ ์œ ์ง€ ์‹œ๊ฐ„ 120์ดˆ(2๋ถ„)
367
+ }
368
  # CSS๋Š” Blocks ์ƒ์„ฑ์ž์— ์ „๋‹ฌ๋จ
369
  )