Skip to content

Commit

Permalink
fix(api): allow spaces in wildcard filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Dec 16, 2023
1 parent cdbdd9b commit 02dd17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/diffusers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
r"\<region:(\d+):(\d+):(\d+):(\d+):(-?[\.|\d]+):(-?[\.|\d]+_?[TLBR]*):([^\>]+)\>"
)
RESEED_TOKEN = compile(r"\<reseed:(\d+):(\d+):(\d+):(\d+):(-?\d+)\>")
WILDCARD_TOKEN = compile(r"__([-/\\\w\.]+)__")
WILDCARD_TOKEN = compile(r"__([-/\\\w\. ]+)__")

INTERVAL_RANGE = compile(r"(\w+)-{(\d+),(\d+)(?:,(\d+))?}")
ALTERNATIVE_RANGE = compile(r"\(([^\)]+)\)")
Expand Down

0 comments on commit 02dd17a

Please sign in to comment.