update samplers

This commit is contained in:
Vladimir Mandic
2023-05-30 12:18:22 -04:00
parent 24bbe045a7
commit b664991633
6 changed files with 33 additions and 9 deletions
+2
View File
@@ -176,6 +176,8 @@ class Api:
script_args[0] = 0
# get default values
if gr is None:
return script_args
with gr.Blocks(): # will throw errors calling ui function without this
for script in script_runner.scripts:
if script.ui(script.is_img2img):