From 7a82da397aeb604aed79cf413d1b4581d2e31973 Mon Sep 17 00:00:00 2001 From: 956237586 Date: Sat, 25 Jan 2025 23:48:36 +0800 Subject: [PATCH] print raw download url for convenience --- glob/manager_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glob/manager_server.py b/glob/manager_server.py index a686f9c4..e9f29a3b 100644 --- a/glob/manager_server.py +++ b/glob/manager_server.py @@ -1143,9 +1143,9 @@ async def install_model(request): try: if model_path is not None: - logging.info(f"Install model '{json_data['name']}' into '{model_path}'") 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 ( 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)