benibraz commited on
Commit
32ffeb2
·
1 Parent(s): bc0163b

Update iface.queue configuration to include api_open, max_thread_count, and status_update_rate for enhanced control

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -588,4 +588,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
588
  )
589
 
590
  if __name__ == "__main__":
591
- iface.queue(max_size=64, default_concurrency_limit=1).launch(share=True)
 
 
 
 
 
 
 
588
  )
589
 
590
  if __name__ == "__main__":
591
+ iface.queue(
592
+ max_size=64,
593
+ default_concurrency_limit=1,
594
+ api_open=False,
595
+ max_thread_count=1,
596
+ status_update_rate=1,
597
+ ).launch(share=True, prevent_thread_lock=True)