Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgatis committed Aug 28, 2022
1 parent 7854288 commit 1a893a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rembg/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ def startup():
if threads is not None:
from anyio.lowlevel import RunVar
from anyio import CapacityLimiter

RunVar("_default_thread_limiter").set(CapacityLimiter(threads))

@app.get(
Expand Down

0 comments on commit 1a893a7

Please sign in to comment.