aboutsummaryrefslogtreecommitdiffstats
path: root/modules/generation_parameters_copypaste.py
diff options
context:
space:
mode:
authorJaredTherriault <noirjt@live.com>2023-09-03 20:31:42 +0000
committerJaredTherriault <noirjt@live.com>2023-09-03 20:32:56 +0000
commit8f3b02f09535f55d3673aa9ea589396b8614f799 (patch)
tree572e29867d4df32cf33df284cf96e8611b78045c /modules/generation_parameters_copypaste.py
parentf3d1631aab82d559294126a9230c979ef4c4e1d6 (diff)
downloadstable-diffusion-webui-gfx803-8f3b02f09535f55d3673aa9ea589396b8614f799.tar.gz
stable-diffusion-webui-gfx803-8f3b02f09535f55d3673aa9ea589396b8614f799.tar.bz2
stable-diffusion-webui-gfx803-8f3b02f09535f55d3673aa9ea589396b8614f799.zip
Revert "Offloading custom work"
This reverts commit f3d1631aab82d559294126a9230c979ef4c4e1d6. This work has been offloaded now into an extension called Prompt Control.
Diffstat (limited to 'modules/generation_parameters_copypaste.py')
-rw-r--r--modules/generation_parameters_copypaste.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/generation_parameters_copypaste.py b/modules/generation_parameters_copypaste.py
index bd7b0018..a3448be9 100644
--- a/modules/generation_parameters_copypaste.py
+++ b/modules/generation_parameters_copypaste.py
@@ -370,14 +370,6 @@ def connect_paste(button, paste_fields, input_comp, override_settings_component,
prompt = file.read()
params = parse_generation_parameters(prompt)
-
- # This sanitizes unsavory prompt words when copying from another image
- # for my own sanity. This is not intended to be contributed to the main repo,
- # it's just so I don't have to see anything I'm not interested in when batch
- # reproducing images from civit.ai or elsewhere when working on loras
- # todo: make this work with the callback instead of forcing it here, this can be an extension when I feel like putting it together :D
- from modules import custom_statics
- params = custom_statics.CustomStatics.mass_replace_strings(params)
script_callbacks.infotext_pasted_callback(prompt, params)
res = []