Skip to content

Commit

Permalink
Adjust lora detection pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
JustMaier committed May 21, 2023
1 parent c6251a1 commit 68a419d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen_hashing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'lora': 'LORA',
'hypernet': 'Hypernetwork'
}
additional_network_pattern = r'<(lora|hypernet):([a-zA-Z0-9_\.]+):([0-9.]+)>'
additional_network_pattern = r'<(lora|hypernet):([a-zA-Z0-9_\.\-]+):([0-9.]+)>'
model_hash_pattern = r'Model hash: ([0-9a-fA-F]{10})'

# Automatically pull model with corresponding hash from Civitai
Expand Down

0 comments on commit 68a419d

Please sign in to comment.