fixed imports

This commit is contained in:
Dag Thomas Olsen
2025-11-09 21:35:39 +01:00
parent 9f9bdf420a
commit 714cac461e
3 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
# FileReaderNode Node
from ...utils.constants import CUSTOM_CATEGORY
import json
import random
from ...utils.constants import CUSTOM_CATEGORY
class FileReaderNode:
+3 -1
View File
@@ -1,8 +1,10 @@
# PromptGenerator Node
from ...utils.constants import CUSTOM_CATEGORY, ARTFORM, PHOTO_FRAMING, PHOTO_TYPE, DEFAULT_TAGS, ROLES, HAIRSTYLES, ADDITIONAL_DETAILS, PHOTOGRAPHY_STYLES, DEVICE, PHOTOGRAPHER, ARTIST, DIGITAL_ARTFORM, PLACE, LIGHTING, CLOTHING, COMPOSITION, POSE, BACKGROUND, BODY_TYPES
import random
import re
from ...utils.constants import CUSTOM_CATEGORY, ARTFORM, PHOTO_FRAMING, PHOTO_TYPE, DEFAULT_TAGS, ROLES, HAIRSTYLES, ADDITIONAL_DETAILS, PHOTOGRAPHY_STYLES, DEVICE, PHOTOGRAPHER, ARTIST, DIGITAL_ARTFORM, PLACE, LIGHTING, CLOTHING, COMPOSITION, POSE, BACKGROUND, BODY_TYPES
class PromptGenerator:
RETURN_TYPES = ("STRING", "INT", "STRING", "STRING", "STRING")
+2
View File
@@ -1,5 +1,7 @@
# SentenceMixerNode Node
import random
from ...utils.constants import CUSTOM_CATEGORY