Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,25 +7,26 @@ from PIL import Image
|
|
7 |
from deep_translator import GoogleTranslator
|
8 |
import json
|
9 |
|
|
|
10 |
mmodels = {
|
11 |
-
"DALL-E 3 XL": f"{
|
12 |
-
"Playground 2": f"{
|
13 |
-
"Openjourney 4": f"{
|
14 |
-
"AbsoluteReality 1.8.1": f"{
|
15 |
-
"Lyriel 1.6": f"{
|
16 |
-
"Animagine XL 2.0": f"{
|
17 |
-
"Counterfeit 2.5": f"{
|
18 |
-
"Realistic Vision 5.1": f"{
|
19 |
-
"Incursios 1.6": f"{
|
20 |
-
"Anime Detailer XL": f"{
|
21 |
-
"Vector Art XL": f"{
|
22 |
-
"epiCRealism": f"{
|
23 |
-
"PixelArt XL": f"{
|
24 |
-
"NewReality XL": f"{
|
25 |
-
"Anything 5.0": f"{
|
26 |
-
"Disney": f"{
|
27 |
-
"CleanLinearMix": f"{
|
28 |
-
"Redmond SDXL": f"{
|
29 |
}
|
30 |
timeout = 100
|
31 |
# PLEASE ❤ like ❤ this space. Please like me. I am 12 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)
|
|
|
7 |
from deep_translator import GoogleTranslator
|
8 |
import json
|
9 |
|
10 |
+
api_base = os.getenv("API_BASE")
|
11 |
mmodels = {
|
12 |
+
"DALL-E 3 XL": f"{api_base}openskyml/dalle-3-xl",
|
13 |
+
"Playground 2": f"{api_base}playgroundai/playground-v2-1024px-aesthetic",
|
14 |
+
"Openjourney 4": f"{api_base}prompthero/openjourney-v4",
|
15 |
+
"AbsoluteReality 1.8.1": f"{api_base}digiplay/AbsoluteReality_v1.8.1",
|
16 |
+
"Lyriel 1.6": f"{api_base}stablediffusionapi/lyrielv16",
|
17 |
+
"Animagine XL 2.0": f"{api_base}Linaqruf/animagine-xl-2.0",
|
18 |
+
"Counterfeit 2.5": f"{api_base}gsdf/Counterfeit-V2.5",
|
19 |
+
"Realistic Vision 5.1": f"{api_base}stablediffusionapi/realistic-vision-v51",
|
20 |
+
"Incursios 1.6": f"{api_base}digiplay/incursiosMemeDiffusion_v1.6",
|
21 |
+
"Anime Detailer XL": f"{api_base}Linaqruf/anime-detailer-xl-lora",
|
22 |
+
"Vector Art XL": f"{api_base}DoctorDiffusion/doctor-diffusion-s-controllable-vector-art-xl-lora",
|
23 |
+
"epiCRealism": f"{api_base}emilianJR/epiCRealism",
|
24 |
+
"PixelArt XL": f"{api_base}nerijs/pixel-art-xl",
|
25 |
+
"NewReality XL": f"{api_base}stablediffusionapi/newrealityxl-global-nsfw",
|
26 |
+
"Anything 5.0": f"{api_base}hogiahien/anything-v5-edited",
|
27 |
+
"Disney": f"{api_base}goofyai/disney_style_xl",
|
28 |
+
"CleanLinearMix": f"{api_base}digiplay/CleanLinearMix_nsfw",
|
29 |
+
"Redmond SDXL": f"{api_base}artificialguybr/LogoRedmond-LogoLoraForSDXL-V2"
|
30 |
}
|
31 |
timeout = 100
|
32 |
# PLEASE ❤ like ❤ this space. Please like me. I am 12 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)
|