mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-05 16:50:38 +08:00
fix linters
This commit is contained in:
parent
2ef798d152
commit
c360cf6d90
@ -48,7 +48,7 @@ class BaseSession:
|
||||
|
||||
@classmethod
|
||||
def checksum_disabled(cls, *args, **kwargs):
|
||||
return os.getenv("MODEL_CHECKSUM_DISABLED", None) != None
|
||||
return os.getenv("MODEL_CHECKSUM_DISABLED", None) is not None
|
||||
|
||||
@classmethod
|
||||
def u2net_home(cls, *args, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user