mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-23 14:12:11 -03:00
refactor(downloader): update download_to_memory calls to include response headers
This commit is contained in:
@@ -141,7 +141,7 @@ class ModelRouteUtils:
|
||||
else:
|
||||
# For images, download and then optimize to WebP using downloader
|
||||
downloader = await get_downloader()
|
||||
success, content = await downloader.download_to_memory(
|
||||
success, content, headers = await downloader.download_to_memory(
|
||||
first_preview['url'],
|
||||
use_auth=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user