Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,15 +3,16 @@ import torch
|
|
| 3 |
import gradio as gr
|
| 4 |
import accelerate
|
| 5 |
|
|
|
|
| 6 |
models=[
|
| 7 |
-
"ItsJayQz/Marvel_WhatIf_Diffusion",
|
| 8 |
-
"DGSpitzer/Cyberpunk-Anime-Diffusion",
|
| 9 |
-
"DGSpitzer/Guan-Yu-Diffusion",
|
| 10 |
-
"wavymulder/portraitplus",
|
| 11 |
-
"nitrosocke/classic-anim-diffusion",
|
| 12 |
-
"22h/vintedois-diffusion-v0-1",
|
| 13 |
-
"dreamlike-art/dreamlike-diffusion-1.0",
|
| 14 |
-
"stabilityai/stable-diffusion-2-1"
|
| 15 |
]
|
| 16 |
|
| 17 |
def TextToImage(Prompt,model):
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
import accelerate
|
| 5 |
|
| 6 |
+
|
| 7 |
models=[
|
| 8 |
+
gr.Interface.load("ItsJayQz/Marvel_WhatIf_Diffusion"),
|
| 9 |
+
gr.Interface.load("DGSpitzer/Cyberpunk-Anime-Diffusion"),
|
| 10 |
+
gr.Interface.load("DGSpitzer/Guan-Yu-Diffusion"),
|
| 11 |
+
gr.Interface.load("wavymulder/portraitplus"),
|
| 12 |
+
gr.Interface.load("nitrosocke/classic-anim-diffusion"),
|
| 13 |
+
gr.Interface.load("22h/vintedois-diffusion-v0-1"),
|
| 14 |
+
gr.Interface.load("dreamlike-art/dreamlike-diffusion-1.0"),
|
| 15 |
+
gr.Interface.load("stabilityai/stable-diffusion-2-1")
|
| 16 |
]
|
| 17 |
|
| 18 |
def TextToImage(Prompt,model):
|