Rooni commited on
Commit
c1f0c54
·
1 Parent(s): 3088539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -18
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"{os.getenv("API_BASE")}openskyml/dalle-3-xl",
12
- "Playground 2": f"{os.getenv("API_BASE")}playgroundai/playground-v2-1024px-aesthetic",
13
- "Openjourney 4": f"{os.getenv("API_BASE")}prompthero/openjourney-v4",
14
- "AbsoluteReality 1.8.1": f"{os.getenv("API_BASE")}digiplay/AbsoluteReality_v1.8.1",
15
- "Lyriel 1.6": f"{os.getenv("API_BASE")}stablediffusionapi/lyrielv16",
16
- "Animagine XL 2.0": f"{os.getenv("API_BASE")}Linaqruf/animagine-xl-2.0",
17
- "Counterfeit 2.5": f"{os.getenv("API_BASE")}gsdf/Counterfeit-V2.5",
18
- "Realistic Vision 5.1": f"{os.getenv("API_BASE")}stablediffusionapi/realistic-vision-v51",
19
- "Incursios 1.6": f"{os.getenv("API_BASE")}digiplay/incursiosMemeDiffusion_v1.6",
20
- "Anime Detailer XL": f"{os.getenv("API_BASE")}Linaqruf/anime-detailer-xl-lora",
21
- "Vector Art XL": f"{os.getenv("API_BASE")}DoctorDiffusion/doctor-diffusion-s-controllable-vector-art-xl-lora",
22
- "epiCRealism": f"{os.getenv("API_BASE")}emilianJR/epiCRealism",
23
- "PixelArt XL": f"{os.getenv("API_BASE")}nerijs/pixel-art-xl",
24
- "NewReality XL": f"{os.getenv("API_BASE")}stablediffusionapi/newrealityxl-global-nsfw",
25
- "Anything 5.0": f"{os.getenv("API_BASE")}hogiahien/anything-v5-edited",
26
- "Disney": f"{os.getenv("API_BASE")}goofyai/disney_style_xl",
27
- "CleanLinearMix": f"{os.getenv("API_BASE")}digiplay/CleanLinearMix_nsfw",
28
- "Redmond SDXL": f"{os.getenv("API_BASE")}artificialguybr/LogoRedmond-LogoLoraForSDXL-V2"
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)