Update app.py
Browse files
app.py
CHANGED
|
@@ -10,15 +10,19 @@ models =[
|
|
| 10 |
"CompVis/stable-diffusion-v1-4",
|
| 11 |
"runwayml/stable-diffusion-v1-5",
|
| 12 |
"prompthero/openjourney",
|
|
|
|
| 13 |
"stabilityai/stable-diffusion-2-1",
|
| 14 |
"stabilityai/stable-diffusion-2-1-base",
|
| 15 |
"andite/anything-v4.0",
|
|
|
|
| 16 |
"Linaqruf/anything-v3.0",
|
| 17 |
"eimiss/EimisAnimeDiffusion_1.0v",
|
| 18 |
"nitrosocke/Nitro-Diffusion",
|
|
|
|
| 19 |
"wavymulder/portraitplus",
|
| 20 |
"22h/vintedois-diffusion-v0-1",
|
| 21 |
"dreamlike-art/dreamlike-photoreal-2.0",
|
|
|
|
| 22 |
"dreamlike-art/dreamlike-diffusion-1.0",
|
| 23 |
"wavymulder/Analog-Diffusion",
|
| 24 |
"nitrosocke/redshift-diffusion",
|
|
@@ -86,7 +90,8 @@ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
| 86 |
iface.launch()
|
| 87 |
"""
|
| 88 |
def image_mod(image):
|
| 89 |
-
output1=
|
|
|
|
| 90 |
return(output1)
|
| 91 |
#return image.rotate(45)
|
| 92 |
|
|
|
|
| 10 |
"CompVis/stable-diffusion-v1-4",
|
| 11 |
"runwayml/stable-diffusion-v1-5",
|
| 12 |
"prompthero/openjourney",
|
| 13 |
+
#4
|
| 14 |
"stabilityai/stable-diffusion-2-1",
|
| 15 |
"stabilityai/stable-diffusion-2-1-base",
|
| 16 |
"andite/anything-v4.0",
|
| 17 |
+
|
| 18 |
"Linaqruf/anything-v3.0",
|
| 19 |
"eimiss/EimisAnimeDiffusion_1.0v",
|
| 20 |
"nitrosocke/Nitro-Diffusion",
|
| 21 |
+
#10
|
| 22 |
"wavymulder/portraitplus",
|
| 23 |
"22h/vintedois-diffusion-v0-1",
|
| 24 |
"dreamlike-art/dreamlike-photoreal-2.0",
|
| 25 |
+
#11
|
| 26 |
"dreamlike-art/dreamlike-diffusion-1.0",
|
| 27 |
"wavymulder/Analog-Diffusion",
|
| 28 |
"nitrosocke/redshift-diffusion",
|
|
|
|
| 90 |
iface.launch()
|
| 91 |
"""
|
| 92 |
def image_mod(image):
|
| 93 |
+
output1=proc11("sexy girl")
|
| 94 |
+
output1.save("save001.png")
|
| 95 |
return(output1)
|
| 96 |
#return image.rotate(45)
|
| 97 |
|