Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ mmodels = {
|
|
13 |
"FLUX.1 dev": "black-forest-labs/FLUX.1-dev",
|
14 |
"Stable Diffusion 3.5": "stabilityai/stable-diffusion-3.5-large",
|
15 |
"Midjourney": "Jovie/Midjourney",
|
|
|
16 |
"FLUX RealismLora": "XLabs-AI/flux-RealismLora",
|
17 |
"FLUX Game Assets": "gokaygokay/Flux-Game-Assets-LoRA-v2",
|
18 |
"Stable Diffusion v1-5": "stable-diffusion-v1-5/stable-diffusion-v1-5",
|
@@ -95,12 +96,20 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
|
|
95 |
#prompt = f"{prompt} | ultra detail, ultra elaboration, ultra quality, perfect."
|
96 |
print(f'\033[1mГенерация {key}:\033[0m {prompt}')
|
97 |
API_URL = mmodels[model]
|
98 |
-
if model == '
|
99 |
-
prompt = f"
|
100 |
-
if model == '
|
101 |
-
prompt = f"
|
102 |
-
if model == '
|
103 |
-
prompt = f"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
|
105 |
|
106 |
|
|
|
13 |
"FLUX.1 dev": "black-forest-labs/FLUX.1-dev",
|
14 |
"Stable Diffusion 3.5": "stabilityai/stable-diffusion-3.5-large",
|
15 |
"Midjourney": "Jovie/Midjourney",
|
16 |
+
"Чиловый парень": "prithivMLmods/Flux-Chill-Guy-Zone",
|
17 |
"FLUX RealismLora": "XLabs-AI/flux-RealismLora",
|
18 |
"FLUX Game Assets": "gokaygokay/Flux-Game-Assets-LoRA-v2",
|
19 |
"Stable Diffusion v1-5": "stable-diffusion-v1-5/stable-diffusion-v1-5",
|
|
|
96 |
#prompt = f"{prompt} | ultra detail, ultra elaboration, ultra quality, perfect."
|
97 |
print(f'\033[1mГенерация {key}:\033[0m {prompt}')
|
98 |
API_URL = mmodels[model]
|
99 |
+
if model == 'Чиловый парень':
|
100 |
+
prompt = f"chill guy. {prompt}"
|
101 |
+
if model == 'Flux Animex v2':
|
102 |
+
prompt = f"Animex. {prompt}"
|
103 |
+
if model == 'FLUX Game Assets':
|
104 |
+
prompt = f"wbgmsst. {prompt}"
|
105 |
+
if model == 'FLUX Animeo v1':
|
106 |
+
prompt = f"Animeo. {prompt}"
|
107 |
+
if model == 'Flux Ghibsky Illustration':
|
108 |
+
prompt = f"GHIBSKY style. {prompt}"
|
109 |
+
if model == 'Flux Super Realism':
|
110 |
+
prompt = f"Super Realism. {prompt}"
|
111 |
+
if model == 'Flux Qwen Capybara':
|
112 |
+
prompt = f"QWENCAPY, capybara. {prompt}"
|
113 |
|
114 |
|
115 |
|