diff options
author | invincibledude <> | 2023-01-22 13:35:42 +0000 |
---|---|---|
committer | invincibledude <> | 2023-01-22 13:35:42 +0000 |
commit | 3bc8ee998db5f461b8011a72e6f167012ccb8bc1 (patch) | |
tree | c981ffb1b5faad0b26c20bd6da606fa97bef1bdc /modules/generation_parameters_copypaste.py | |
parent | 7f62300f7d496501a730d28f3aaaee885513998b (diff) | |
download | stable-diffusion-webui-gfx803-3bc8ee998db5f461b8011a72e6f167012ccb8bc1.tar.gz stable-diffusion-webui-gfx803-3bc8ee998db5f461b8011a72e6f167012ccb8bc1.tar.bz2 stable-diffusion-webui-gfx803-3bc8ee998db5f461b8011a72e6f167012ccb8bc1.zip |
Gen params paste improvement
Diffstat (limited to 'modules/generation_parameters_copypaste.py')
-rw-r--r-- | modules/generation_parameters_copypaste.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/generation_parameters_copypaste.py b/modules/generation_parameters_copypaste.py index 44c8273f..98098cc8 100644 --- a/modules/generation_parameters_copypaste.py +++ b/modules/generation_parameters_copypaste.py @@ -269,9 +269,9 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model res[k] = v
if k.startswith("Hires prompt"):
- res["Hires prompt"] = v[1:][:-1]
+ res["Hires prompt"] = v[1:][:-1].replace(';', ',')
elif k.startswith("Hires negative prompt"):
- res["Hires negative prompt"] = v[1:][:-1]
+ res["Hires negative prompt"] = v[1:][:-1].replace(';', ',')
# Missing CLIP skip means it was set to 1 (the default)
if "Clip skip" not in res:
|