Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgatis committed May 23, 2024
1 parent bfafe9e commit 2bb949f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rembg/sessions/sam.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(
sess_opts: ort.SessionOptions,
providers=None,
*args,
**kwargs
**kwargs,
):
"""
Initialize a new SamSession with the given model name and session options.
Expand All @@ -105,7 +105,7 @@ def __init__(
valid_providers = []
available_providers = ort.get_available_providers()

for provider in (providers or []):
for provider in providers or []:
if provider in available_providers:
valid_providers.append(provider)
else:
Expand Down

0 comments on commit 2bb949f

Please sign in to comment.