mirror of
https://github.com/vladmandic/automatic
synced 2026-09-07 13:30:46 +02:00
@@ -40,10 +40,10 @@ class CustomCodeScript(scripts_manager.Script):
|
||||
def title(self):
|
||||
return "Custom code"
|
||||
|
||||
def show(self, is_img2img):
|
||||
def show(self, _is_img2img):
|
||||
return cmd_opts.allow_code
|
||||
|
||||
def ui(self, is_img2img):
|
||||
def ui(self, _is_img2img):
|
||||
example = """from modules.processing import process_images
|
||||
|
||||
p.width = 768
|
||||
|
||||
Reference in New Issue
Block a user