mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-04-26 17:29:02 +00:00
feat: no huggingface option
This commit is contained in:
@@ -44,8 +44,9 @@ except Exception:
|
||||
pass
|
||||
|
||||
AFTER_DETAILER = "After Detailer"
|
||||
no_huggingface = getattr(cmd_opts, "ad_no_huggingface", False)
|
||||
adetailer_dir = Path(models_path, "adetailer")
|
||||
model_mapping = get_models(adetailer_dir)
|
||||
model_mapping = get_models(adetailer_dir, huggingface=not no_huggingface)
|
||||
txt2img_submit_button = img2img_submit_button = None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user