mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-02-11 05:32:30 +08:00
print raw download url for convenience
This commit is contained in:
parent
3c64a8eb18
commit
7a82da397a
@ -1143,9 +1143,9 @@ async def install_model(request):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
if model_path is not None:
|
if model_path is not None:
|
||||||
logging.info(f"Install model '{json_data['name']}' into '{model_path}'")
|
|
||||||
|
|
||||||
model_url = json_data['url']
|
model_url = json_data['url']
|
||||||
|
logging.info(f"Install model '{json_data['name']}' from '{model_url}' into '{model_path}'")
|
||||||
if not core.get_config()['model_download_by_agent'] and (
|
if not core.get_config()['model_download_by_agent'] and (
|
||||||
model_url.startswith('https://github.com') or model_url.startswith('https://huggingface.co') or model_url.startswith('https://heibox.uni-heidelberg.de')):
|
model_url.startswith('https://github.com') or model_url.startswith('https://huggingface.co') or model_url.startswith('https://heibox.uni-heidelberg.de')):
|
||||||
model_dir = get_model_dir(json_data, True)
|
model_dir = get_model_dir(json_data, True)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user