feat: remove unused image download functions and dependencies for cleaner code

This commit is contained in:
Will Miao
2025-08-05 09:09:17 +08:00
parent b0c2027a1c
commit 4f1f4ffe3d
5 changed files with 0 additions and 112 deletions

View File

@@ -153,10 +153,6 @@ class CivitaiApiMetadataParser(RecipeMetadataParser):
# Process civitaiResources array
if "civitaiResources" in metadata and isinstance(metadata["civitaiResources"], list):
for resource in metadata["civitaiResources"]:
# Skip resources that aren't LoRAs or LyCORIS
if resource.get("type") not in ["lora", "lycoris"] and "type" not in resource:
continue
# Get unique identifier for deduplication
version_id = str(resource.get("modelVersionId", ""))