mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
moved images to
This commit is contained in:
parent
b99a47b12d
commit
836b646374
15 changed files with 34 additions and 217 deletions
|
|
@ -9,7 +9,8 @@ class Script(scripts.Script):
|
|||
def title(self):
|
||||
return "Custom code"
|
||||
|
||||
def enabled(self):
|
||||
|
||||
def show(self, is_img2img):
|
||||
return cmd_opts.allow_code
|
||||
|
||||
def ui(self, is_img2img):
|
||||
|
|
@ -18,8 +19,7 @@ class Script(scripts.Script):
|
|||
return [code]
|
||||
|
||||
def run(self, p, code):
|
||||
if not cmd_opts.allow_code:
|
||||
return
|
||||
assert cmd_opts.allow_code, '--allow-code option must be enabled'
|
||||
|
||||
display_result_data = [[], -1, ""]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue