mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-06 01:02:02 -08:00
autofixes from ruff
This commit is contained in:
parent
a617d64882
commit
762265eab5
22 changed files with 40 additions and 41 deletions
|
|
@ -61,7 +61,7 @@ class DisableInitialization:
|
|||
if res is None:
|
||||
res = original(url, *args, local_files_only=False, **kwargs)
|
||||
return res
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
return original(url, *args, local_files_only=False, **kwargs)
|
||||
|
||||
def transformers_utils_hub_get_from_cache(url, *args, local_files_only=False, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue