mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-14 22:13:41 +03:00
Revert "Removed auto prompt_matrix check (revert)"
This reverts commit 0b2f5bf46a
.
This commit is contained in:
parent
c0cd601d6a
commit
9156c8b834
9
webui.py
9
webui.py
@ -670,8 +670,13 @@ def process_images(
|
||||
sample_path = os.path.join(outpath, "samples")
|
||||
os.makedirs(sample_path, exist_ok=True)
|
||||
|
||||
if not ("|" in prompt) and prompt.startswith("@"):
|
||||
prompt = prompt[1:]
|
||||
# Set auto prompt_matrix depending on prompt.
|
||||
if "|" in prompt:
|
||||
prompt_matrix = True
|
||||
else:
|
||||
prompt_matrix = False
|
||||
if prompt.startswith("@"):
|
||||
prompt = prompt[1:]
|
||||
|
||||
comments = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user