add sd3.5

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-10-22 13:29:03 -04:00
parent b37c6115ff
commit 7d7b2fcf00
6 changed files with 28 additions and 11 deletions
+3 -1
View File
@@ -196,6 +196,8 @@ def download_diffusers_model(hub_id: str, cache_dir: str = None, download_config
return None
from diffusers import DiffusionPipeline
shared.state.begin('HuggingFace')
if hub_id.startswith('huggingface/'):
hub_id = hub_id.replace('huggingface/', '')
if download_config is None:
download_config = {
"force_download": False,
@@ -335,7 +337,7 @@ def get_reference_opts(name: str, quiet=False):
# shared.log.error(f'Reference: model="{name}" not found')
return {}
if not quiet:
shared.log.debug(f'Reference: model="{name}" {model_opts.get("extras", None)}')
shared.log.debug(f'Reference: model="{name}" {model_opts}')
return model_opts