mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 15:15:44 -03:00
refactor: Simplify model download handling by consolidating download logic and updating parameter usage
This commit is contained in:
@@ -267,7 +267,7 @@ class CivitaiClient:
|
||||
# Replace index with modelId
|
||||
if 'index' in result:
|
||||
del result['index']
|
||||
result['modelId'] = model_id
|
||||
result['modelId'] = int(model_id)
|
||||
|
||||
# Add model field with metadata from top level
|
||||
result['model'] = {
|
||||
|
||||
Reference in New Issue
Block a user