Optimized code
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import random
|
||||
import os
|
||||
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Loop Switch \033[92mLOADED\033[0m")
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Loop Switch \033[92mLOADED\033[0m")
|
||||
|
||||
MAX_SEED = 9888888888888888
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ from nodes import UNETLoader, CLIPLoader, VAELoader, LoraLoader
|
||||
from server import PromptServer
|
||||
import aiohttp
|
||||
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Models Loader \033[92mLOADED\033[0m")
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Models Loader \033[92mLOADED\033[0m")
|
||||
|
||||
class RaykoModelsLoader:
|
||||
@classmethod
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
import torch
|
||||
from comfy.model_patcher import ModelPatcher
|
||||
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Saturation \033[92mLOADED\033[0m")
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Saturation \033[92mLOADED\033[0m")
|
||||
|
||||
class RS_SaturationSwitch:
|
||||
@classmethod
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import os
|
||||
import folder_paths
|
||||
import textwrap
|
||||
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Save Image \033[92mLOADED\033[0m")
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Save Image \033[92mLOADED\033[0m")
|
||||
|
||||
def get_font_list(font_dir):
|
||||
if not os.path.isdir(font_dir):
|
||||
|
||||
@@ -6,7 +6,7 @@ import os
|
||||
import folder_paths
|
||||
import textwrap
|
||||
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Save Image Pair \033[92mLOADED\033[0m")
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Save Image Pair \033[92mLOADED\033[0m")
|
||||
|
||||
def get_font_list(font_dir):
|
||||
if not os.path.isdir(font_dir):
|
||||
|
||||
@@ -32,7 +32,7 @@ try:
|
||||
except ImportError:
|
||||
HAS_FOLDER_PATHS = False
|
||||
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Text Overlay \033[92mLOADED\033[0m")
|
||||
print("\033[93m🦊\033[0m \033[93mRaykoStudio - RS Text Overlay \033[92mLOADED\033[0m")
|
||||
|
||||
class FontNotFoundError(Exception): pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user