Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,6 @@ import numpy as np
|
|
| 24 |
|
| 25 |
# 1. Base Model - Using reliable SDXL models (avoiding incomplete "bait" models)
|
| 26 |
BASE_MODELS = {
|
| 27 |
-
"nsfw":"votepurchase/novaFurryXL_illustriousV7b",
|
| 28 |
"sdxl_base": "stabilityai/stable-diffusion-xl-base-1.0", # Most reliable choice
|
| 29 |
"realistic_vision": "SG161222/RealVisXL_V4.0", # High-quality realistic model
|
| 30 |
"anime_xl": "Linaqruf/animagine-xl-3.1", # Popular anime-style SDXL
|
|
@@ -33,7 +32,7 @@ BASE_MODELS = {
|
|
| 33 |
}
|
| 34 |
|
| 35 |
# Current model selection (change this to switch models)
|
| 36 |
-
CURRENT_MODEL_KEY = "
|
| 37 |
BASE_MODEL = BASE_MODELS[CURRENT_MODEL_KEY]
|
| 38 |
|
| 39 |
# 2. Fixed LoRAs (Auto-loaded, not user-selectable) - Using actual LoRA models
|
|
@@ -553,7 +552,7 @@ def create_interface():
|
|
| 553 |
cfg_slider = gr.Slider(
|
| 554 |
minimum=1.0,
|
| 555 |
maximum=20.0,
|
| 556 |
-
step=0.
|
| 557 |
value=DEFAULT_CFG,
|
| 558 |
label="CFG Scale"
|
| 559 |
)
|
|
|
|
| 24 |
|
| 25 |
# 1. Base Model - Using reliable SDXL models (avoiding incomplete "bait" models)
|
| 26 |
BASE_MODELS = {
|
|
|
|
| 27 |
"sdxl_base": "stabilityai/stable-diffusion-xl-base-1.0", # Most reliable choice
|
| 28 |
"realistic_vision": "SG161222/RealVisXL_V4.0", # High-quality realistic model
|
| 29 |
"anime_xl": "Linaqruf/animagine-xl-3.1", # Popular anime-style SDXL
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
# Current model selection (change this to switch models)
|
| 35 |
+
CURRENT_MODEL_KEY = "realistic_vision" # Changed to working model
|
| 36 |
BASE_MODEL = BASE_MODELS[CURRENT_MODEL_KEY]
|
| 37 |
|
| 38 |
# 2. Fixed LoRAs (Auto-loaded, not user-selectable) - Using actual LoRA models
|
|
|
|
| 552 |
cfg_slider = gr.Slider(
|
| 553 |
minimum=1.0,
|
| 554 |
maximum=20.0,
|
| 555 |
+
step=0.1,
|
| 556 |
value=DEFAULT_CFG,
|
| 557 |
label="CFG Scale"
|
| 558 |
)
|