Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,30 +10,15 @@ from langdetect import detect
|
|
10 |
|
11 |
api_base = os.getenv("API_BASE")
|
12 |
mmodels = {
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"Lyriel 1.6": "stablediffusionapi/lyrielv16",
|
20 |
-
"Animagine XL 2.0": "Linaqruf/animagine-xl-2.0",
|
21 |
-
"Counterfeit 2.5": "gsdf/Counterfeit-V2.5",
|
22 |
-
"Realistic Vision 5.1": "stablediffusionapi/realistic-vision-v51",
|
23 |
-
"Incursios 1.6": "digiplay/incursiosMemeDiffusion_v1.6",
|
24 |
-
"Anime Detailer XL": "Linaqruf/anime-detailer-xl-lora",
|
25 |
-
"Vector Art XL": "DoctorDiffusion/doctor-diffusion-s-controllable-vector-art-xl-lora",
|
26 |
-
"epiCRealism": "emilianJR/epiCRealism",
|
27 |
-
"PixelArt XL": "nerijs/pixel-art-xl",
|
28 |
-
"NewReality XL": "stablediffusionapi/newrealityxl-global-nsfw",
|
29 |
-
"Anything 7.0": "Yntec/AnythingV7",
|
30 |
-
"Disney": "goofyai/disney_style_xl",
|
31 |
-
"CleanLinearMix": "digiplay/CleanLinearMix_nsfw",
|
32 |
-
"Redmond SDXL": "artificialguybr/LogoRedmond-LogoLoraForSDXL-V2",
|
33 |
-
"Arcane": "nitrosocke/Arcane-Diffusion"
|
34 |
}
|
35 |
timeout = 100
|
36 |
-
# PLEASE ❤ like ❤ this space. Please like me. I am
|
37 |
|
38 |
def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, gpt=False):
|
39 |
if prompt == "" or prompt == None:
|
|
|
10 |
|
11 |
api_base = os.getenv("API_BASE")
|
12 |
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 |
+
"PixelArt": "nerijs/pixel-art-xl",
|
18 |
+
"FLUX Game Assets": "gokaygokay/Flux-Game-Assets-LoRA-v2",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
timeout = 100
|
21 |
+
# PLEASE ❤ like ❤ this space. Please like me. I am 14 years old, one of my projects is: https://ai-hub.rf.gd . I live in Russia, I don't know English very well. Therefore, I apologize that there is only Russian here, but I think it will not be difficult to translate all this. (For example, using gpt)
|
22 |
|
23 |
def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, gpt=False):
|
24 |
if prompt == "" or prompt == None:
|