diff --git a/py/recipes/parsers/automatic.py b/py/recipes/parsers/automatic.py index 0632c93d..fff4b4c3 100644 --- a/py/recipes/parsers/automatic.py +++ b/py/recipes/parsers/automatic.py @@ -19,7 +19,7 @@ class AutomaticMetadataParser(RecipeMetadataParser): LORA_HASHES_REGEX = r', Lora hashes:\s*"([^"]+)"' CIVITAI_RESOURCES_REGEX = r', Civitai resources:\s*(\[\{.*?\}\])' CIVITAI_METADATA_REGEX = r', Civitai metadata:\s*(\{.*?\})' - EXTRANETS_REGEX = r'<(lora|hypernet):([a-zA-Z0-9_\.\-]+):([0-9.]+)>' + EXTRANETS_REGEX = r'<(lora|hypernet):([^:]+):(-?[0-9.]+)>' MODEL_HASH_PATTERN = r'Model hash: ([a-zA-Z0-9]+)' VAE_HASH_PATTERN = r'VAE hash: ([a-zA-Z0-9]+)'