update changelog

This commit is contained in:
Vladimir Mandic
2024-02-29 09:46:59 -05:00
parent 9f9fc1f47b
commit 30543221fa
4 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -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