[Web] Fix custom model path for upscaler (#1199)

This commit is contained in:
m68k-fr
2023-03-16 23:57:23 +01:00
committed by GitHub
parent 0225434389
commit b661656c03

View File

@@ -78,7 +78,7 @@ def upscaler_inf(
)
args.hf_model_id = hf_model_id
elif ".ckpt" in custom_model or ".safetensors" in custom_model:
args.ckpt_loc = custom_model
args.ckpt_loc = get_custom_model_pathfile(custom_model)
else:
args.hf_model_id = custom_model