mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
major refactoring of modules
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+3
-3
@@ -5,14 +5,14 @@ lib: https://github.com/homm/pillow-lut-tools
|
||||
import os
|
||||
import gradio as gr
|
||||
from installer import install
|
||||
from modules import scripts, shared, processing
|
||||
from modules import scripts_manager, shared, processing
|
||||
|
||||
|
||||
class Script(scripts.Script):
|
||||
class Script(scripts_manager.Script):
|
||||
def title(self):
|
||||
return 'LUT Color grading'
|
||||
|
||||
def show(self, is_img2img):
|
||||
def show(self, is_img2img): # pylint: disable=unused-argument
|
||||
return shared.native
|
||||
|
||||
def ui(self, _is_img2img):
|
||||
|
||||
Reference in New Issue
Block a user