X-iZhang commited on
Commit
cdaecbc
·
verified ·
1 Parent(s): 6670ba7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -587,8 +587,9 @@ def main():
587
  # Launch with extended timeout for CPU inference
588
  demo.queue(max_size=10) # Enable queue for better handling of long-running tasks
589
  demo.launch(
590
- max_threads=4, # Limit concurrent requests
591
- show_error=True # Show detailed errors
 
592
  )
593
 
594
 
 
587
  # Launch with extended timeout for CPU inference
588
  demo.queue(max_size=10) # Enable queue for better handling of long-running tasks
589
  demo.launch(
590
+ max_threads=5, # Limit concurrent requests
591
+ show_error=True, # Show detailed errors
592
+ share=True
593
  )
594
 
595