mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
update changelog
This commit is contained in:
@@ -186,14 +186,14 @@ def download_diffusers_model(hub_id: str, cache_dir: str = None, download_config
|
||||
except Exception as e:
|
||||
err = e
|
||||
ok = False
|
||||
debug(f"Diffusers download error: {hub_id} {e}")
|
||||
debug(f'Diffusers download error: id="{hub_id}" {e}')
|
||||
if not ok and 'Repository Not Found' not in str(err):
|
||||
try:
|
||||
download_config.pop('load_connected_pipeline', None)
|
||||
download_config.pop('variant', None)
|
||||
pipeline_dir = hf.snapshot_download(hub_id, **download_config)
|
||||
except Exception as e:
|
||||
debug(f"Diffusers download error: {hub_id} {e}")
|
||||
debug(f'Diffusers download error: id="{hub_id}" {e}')
|
||||
if 'gated' in str(e):
|
||||
shared.log.error(f'Diffusers download error: id="{hub_id}" model access requires login')
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user