mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 15:15:44 -03:00
Merge branch 'main' into dev
This commit is contained in:
@@ -356,7 +356,7 @@ class ApiRoutes:
|
|||||||
# Update model name if available
|
# Update model name if available
|
||||||
if 'model' in civitai_metadata:
|
if 'model' in civitai_metadata:
|
||||||
if civitai_metadata.get('model', {}).get('name'):
|
if civitai_metadata.get('model', {}).get('name'):
|
||||||
local_metadata['model_name'] = determine_base_model(civitai_metadata['model']['name'])
|
local_metadata['model_name'] = civitai_metadata['model']['name']
|
||||||
|
|
||||||
# Fetch additional model metadata (description and tags) if we have model ID
|
# Fetch additional model metadata (description and tags) if we have model ID
|
||||||
model_id = civitai_metadata['modelId']
|
model_id = civitai_metadata['modelId']
|
||||||
@@ -367,7 +367,7 @@ class ApiRoutes:
|
|||||||
local_metadata['tags'] = model_metadata.get('tags', [])
|
local_metadata['tags'] = model_metadata.get('tags', [])
|
||||||
|
|
||||||
# Update base model
|
# Update base model
|
||||||
local_metadata['base_model'] = civitai_metadata.get('baseModel')
|
local_metadata['base_model'] = determine_base_model(civitai_metadata.get('baseModel'))
|
||||||
|
|
||||||
# Update preview if needed
|
# Update preview if needed
|
||||||
if not local_metadata.get('preview_url') or not os.path.exists(local_metadata['preview_url']):
|
if not local_metadata.get('preview_url') or not os.path.exists(local_metadata['preview_url']):
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "comfyui-lora-manager"
|
name = "comfyui-lora-manager"
|
||||||
description = "LoRA Manager for ComfyUI - Access it at http://localhost:8188/loras for managing LoRA models with previews and metadata integration."
|
description = "LoRA Manager for ComfyUI - Access it at http://localhost:8188/loras for managing LoRA models with previews and metadata integration."
|
||||||
version = "0.7.37-bugfix"
|
version = "0.7.38"
|
||||||
license = {file = "LICENSE"}
|
license = {file = "LICENSE"}
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aiohttp",
|
"aiohttp",
|
||||||
|
|||||||
Reference in New Issue
Block a user