-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
32 lines (28 loc) · 1.16 KB
/
config.py
File metadata and controls
32 lines (28 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# --- Configuration ---
# Use a quantized model for lower VRAM usage, or the full model for better quality.
# Quantized model: "John6666/llama-joycaption-beta-one-hf-llava-nf4"
# Full model: "fancyfeast/llama-joycaption-alpha-two-hf-llava"
APP_VERSION = "1.0.0"
MAX_THUMBNAIL_SIZE = (400, 400)
ACCEPTED_IMAGE_EXTENSIONS = ('.png', '.jpg', '.jpeg', '.bmp', '.gif', '.webp')
COPY_IMAGE_FILE = "assets/copy_image.png"
COPY_IMAGE_HOVER_FILE = "assets/copy_image_hover.png"
DARK_COLOR = "#2E2E2E"
INACTIVE_TAB_COLOR = "#303030"
FIELD_BORDER_AREA_COLOR = "#4A4A4A"
FIELD_BACK_COLOR = "#3C3C3C"
FIELD_FOREGROUND_COLOR = "white"
INSERT_COLOR = "black"
SELECT_BACKGROUND_COLOR = "#007ACC"
BUTTON_COLOR = "#007ACC"
BUTTON_ACTIVATE_COLOR = "#008ADC"
BUTTON_PRESSED_COLOR = "#3A3A3A"
TEXT_BG_COLOR = "#3C3C3C"
INSERT_BACKGROUND_COLOR = "white"
PLACEHOLDER_FG_COLOR = "gray"
# --- Prompt Generation ---
DEFAULT_CARD_TEMPLATE = "NSFW"
DEFAULT_SD_TEMPLATE = "NSFW"
CARD_USER_ROLE = "develop around Main Character personality (Main Character interest/Lover/Rival/Friend/NTR partecipant...)"
CARD_CHAR_TO_ANALYZE = "Main Character"
SD_CHAR_TO_ANALYZE = "Character from character card, Main Character"