mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
@@ -664,9 +664,6 @@ class ScriptRunner:
|
||||
s.report()
|
||||
|
||||
def process(self, p: StableDiffusionProcessing, **kwargs):
|
||||
from modules import shared
|
||||
if not shared.sd_loaded:
|
||||
return None
|
||||
s = ScriptSummary('process')
|
||||
for script in self.alwayson_scripts:
|
||||
try:
|
||||
@@ -679,9 +676,6 @@ class ScriptRunner:
|
||||
s.report()
|
||||
|
||||
def process_images(self, p: StableDiffusionProcessing, **kwargs):
|
||||
from modules import shared
|
||||
if not shared.sd_loaded:
|
||||
return None
|
||||
s = ScriptSummary('process_images')
|
||||
processed = None
|
||||
for script in self.alwayson_scripts:
|
||||
@@ -710,9 +704,6 @@ class ScriptRunner:
|
||||
s.report()
|
||||
|
||||
def process_batch(self, p: StableDiffusionProcessing, **kwargs):
|
||||
from modules import shared
|
||||
if not shared.sd_loaded:
|
||||
return None
|
||||
s = ScriptSummary('process-batch')
|
||||
for script in self.alwayson_scripts:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user