Spaces:
Runtime error
Runtime error
added sys prompt to Dall-e-3-xl
Browse files
app.py
CHANGED
@@ -78,6 +78,7 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
|
|
78 |
print(f'\033[1mГенерация {key}:\033[0m {prompt}')
|
79 |
if model == 'DALL-E 3 XL':
|
80 |
API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
|
|
|
81 |
if model == 'OpenDalle':
|
82 |
API_URL = "https://api-inference.huggingface.co/models/dataautogpt3/OpenDalle"
|
83 |
if model == 'Playground 2':
|
@@ -92,7 +93,7 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
|
|
92 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/lyrielv16"
|
93 |
if model == 'Animagine XL 2.0':
|
94 |
API_URL = "https://api-inference.huggingface.co/models/Linaqruf/animagine-xl-2.0"
|
95 |
-
prompt = f"Anime. {prompt}"
|
96 |
if model == 'Counterfeit 2.5':
|
97 |
API_URL = "https://api-inference.huggingface.co/models/gsdf/Counterfeit-V2.5"
|
98 |
if model == 'Realistic Vision 5.1':
|
@@ -101,7 +102,7 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
|
|
101 |
API_URL = "https://api-inference.huggingface.co/models/digiplay/incursiosMemeDiffusion_v1.6"
|
102 |
if model == 'Anime Detailer XL':
|
103 |
API_URL = "https://api-inference.huggingface.co/models/Linaqruf/anime-detailer-xl-lora"
|
104 |
-
prompt = f"Anime. {prompt}"
|
105 |
if model == 'epiCRealism':
|
106 |
API_URL = "https://api-inference.huggingface.co/models/emilianJR/epiCRealism"
|
107 |
if model == 'PixelArt XL':
|
|
|
78 |
print(f'\033[1mГенерация {key}:\033[0m {prompt}')
|
79 |
if model == 'DALL-E 3 XL':
|
80 |
API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
|
81 |
+
prompt = f"Ultra realistic porn. {prompt}"
|
82 |
if model == 'OpenDalle':
|
83 |
API_URL = "https://api-inference.huggingface.co/models/dataautogpt3/OpenDalle"
|
84 |
if model == 'Playground 2':
|
|
|
93 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/lyrielv16"
|
94 |
if model == 'Animagine XL 2.0':
|
95 |
API_URL = "https://api-inference.huggingface.co/models/Linaqruf/animagine-xl-2.0"
|
96 |
+
prompt = f"Anime porn. {prompt}"
|
97 |
if model == 'Counterfeit 2.5':
|
98 |
API_URL = "https://api-inference.huggingface.co/models/gsdf/Counterfeit-V2.5"
|
99 |
if model == 'Realistic Vision 5.1':
|
|
|
102 |
API_URL = "https://api-inference.huggingface.co/models/digiplay/incursiosMemeDiffusion_v1.6"
|
103 |
if model == 'Anime Detailer XL':
|
104 |
API_URL = "https://api-inference.huggingface.co/models/Linaqruf/anime-detailer-xl-lora"
|
105 |
+
prompt = f"Anime porn. {prompt}"
|
106 |
if model == 'epiCRealism':
|
107 |
API_URL = "https://api-inference.huggingface.co/models/emilianJR/epiCRealism"
|
108 |
if model == 'PixelArt XL':
|