Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions glob/manager_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ def aria2_download_url(model_url: str, model_dir: str, filename: str):
import tqdm
import time

if model_dir.startswith(core.comfy_path):
model_dir = model_dir[len(core.comfy_path) :]

download_dir = model_dir if model_dir.startswith('/') else os.path.join('/models', model_dir)
if os.path.isabs(model_dir):
download_dir = model_dir
else:
download_dir = os.path.join('/models', model_dir)
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated

download = aria2_find_task(download_dir, filename)
if download is None:
Expand Down