fix: correct indentation for appending lora_entry in CivitaiApiMetadataParser. Fixes #253

This commit is contained in:
Will Miao
2025-06-25 15:57:14 +08:00
parent 446b6d6158
commit 7f523f167d

View File

@@ -235,7 +235,7 @@ class CivitaiApiMetadataParser(RecipeMetadataParser):
except Exception as e:
logger.error(f"Error fetching Civitai info for model ID {model_id}: {e}")
result["loras"].append(lora_entry)
result["loras"].append(lora_entry)
# If base model wasn't found earlier, use the most common one from LoRAs
if not result["base_model"] and base_model_counts: