Add MetaFormatParser for Lora_N Model hash format metadata handling

- Introduced MetaFormatParser class to parse metadata from images with Lora_N Model hash format.
- Implemented methods to validate metadata structure, extract prompts, negative prompts, and LoRA information.
- Enhanced error handling and logging for metadata parsing failures.
- Updated RecipeParserFactory to include MetaFormatParser for relevant user comments.
This commit is contained in:
Will Miao
2025-03-27 17:28:11 +08:00
parent 6e3b4178ac
commit ecd0e05f79
3 changed files with 212 additions and 1 deletions

View File

@@ -95,7 +95,6 @@
"onSite": false,
"remixOfId": null
}
// more images here
],
"downloadUrl": "https://civitai.com/api/download/models/1387174"
}