mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
major refactoring of modules
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
from modules import scripts, processing, shared, devices
|
||||
from modules import scripts_manager, processing, shared, devices
|
||||
|
||||
|
||||
class Script(scripts.Script):
|
||||
class Script(scripts_manager.Script):
|
||||
standalone = False
|
||||
|
||||
def title(self):
|
||||
return 'Init Latents'
|
||||
|
||||
def show(self, is_img2img):
|
||||
return scripts.AlwaysVisible if shared.native else False
|
||||
return scripts_manager.AlwaysVisible if shared.native else False
|
||||
|
||||
@staticmethod
|
||||
def get_latents(p):
|
||||
|
||||
Reference in New Issue
Block a user