Rohit Kochikkat Francis commited on
Commit
9bed9f5
1 Parent(s): 130f0aa

Revert "Update concurrency"

Browse files

This reverts commit 0575d30665731de984846f2ad05e7c5af98cae29.

facefusion/uis/layouts/benchmark.py CHANGED
@@ -63,5 +63,5 @@ def listen() -> None:
63
 
64
 
65
  def run(ui : gradio.Blocks) -> None:
66
- concurrency_limit = min(2, multiprocessing.cpu_count())
67
- ui.queue(concurrency_limit = concurrency_limit).launch(show_api = False, quiet = True)
 
63
 
64
 
65
  def run(ui : gradio.Blocks) -> None:
66
+ concurrency_count = min(2, multiprocessing.cpu_count())
67
+ ui.queue(concurrency_count = concurrency_count).launch(show_api = False, quiet = True)
facefusion/uis/layouts/default.py CHANGED
@@ -76,5 +76,5 @@ def listen() -> None:
76
 
77
 
78
  def run(ui : gradio.Blocks) -> None:
79
- concurrency_limit = min(8, multiprocessing.cpu_count())
80
- ui.queue(concurrency_limit = concurrency_limit).launch(show_api = False, quiet = True)
 
76
 
77
 
78
  def run(ui : gradio.Blocks) -> None:
79
+ concurrency_count = min(8, multiprocessing.cpu_count())
80
+ ui.queue(concurrency_count = concurrency_count).launch(show_api = False, quiet = True)
facefusion/uis/layouts/webcam.py CHANGED
@@ -45,5 +45,5 @@ def listen() -> None:
45
 
46
 
47
  def run(ui : gradio.Blocks) -> None:
48
- concurrency_limit = min(2, multiprocessing.cpu_count())
49
- ui.queue(concurrency_limit = concurrency_limit).launch(show_api = False, quiet = True)
 
45
 
46
 
47
  def run(ui : gradio.Blocks) -> None:
48
+ concurrency_count = min(2, multiprocessing.cpu_count())
49
+ ui.queue(concurrency_count = concurrency_count).launch(show_api = False, quiet = True)