Browse Source

Fix numeric syntax for lora weights

pull/165/head
Ionite 1 year ago
parent
commit
6ec10ce598
No known key found for this signature in database
  1. 2
      StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json

2
StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json

@ -133,7 +133,7 @@
"name": "meta.structure.network.prompt", "name": "meta.structure.network.prompt",
"patterns": [ "patterns": [
{ {
"match": "(?<=\\<)([^,:\\<\\> ]+)(:)([^,:\\<\\> ]+)(:)(\\d+(?:\\.\\d+)?)", "match": "(?<=\\<)([^,:\\<\\> ]+)(:)([^,:\\<\\> ]+)(:)([-+]?\\d+(?:\\.\\d+)?)",
"captures": { "captures": {
"1": { "1": {
"name": "meta.embedded.network.type.prompt" "name": "meta.embedded.network.type.prompt"

Loading…
Cancel
Save