Trabis commited on
Commit
75cbe13
1 Parent(s): b260131

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -616,11 +616,11 @@ with gr.Blocks(css=custom_css) as iface:
616
  api_name="predict"
617
  )
618
 
619
- # Launch with optimized settings
620
  if __name__ == "__main__":
621
- iface.queue(concurrency_count=3).launch(
622
  share=True,
623
  server_name="0.0.0.0",
624
  server_port=7860,
625
- enable_queue=True
 
626
  )
 
616
  api_name="predict"
617
  )
618
 
 
619
  if __name__ == "__main__":
620
+ iface.launch(
621
  share=True,
622
  server_name="0.0.0.0",
623
  server_port=7860,
624
+ max_threads=3, # Controls concurrency
625
+ show_error=True
626
  )