Optimized code

This commit is contained in:
Raykosan
2026-04-05 13:11:21 +03:00
parent 75bf8b559d
commit 040d47bce0
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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):
+1 -1
View File
@@ -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):
+1 -1
View File
@@ -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