HuyRemy commited on
Commit
742914a
·
verified ·
1 Parent(s): 4c5e4c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -214,9 +214,9 @@ body {
214
  }
215
  """
216
 
 
217
  with gr.Blocks(css=custom_css) as demo:
218
  make_me()
219
 
220
- # Thay thế concurrency_count bằng concurrency_limit
221
- demo.queue(concurrency_limit=50)
222
- demo.launch()
 
214
  }
215
  """
216
 
217
+ # Thay thế concurrency_count bằng concurrency_limit
218
  with gr.Blocks(css=custom_css) as demo:
219
  make_me()
220
 
221
+ # Gọi launch() với max_threads nếu cần thiết
222
+ demo.launch(max_threads=50)