Spaces:
Runtime error
Runtime error
Update app.py
Browse filesswitching to whatif Marvel style
app.py
CHANGED
@@ -15,18 +15,18 @@ class Model:
|
|
15 |
self.pipe_i2i = None
|
16 |
|
17 |
models = [
|
18 |
-
Model("Marvel","ItsJayQz/Marvel_WhatIf_Diffusion", "
|
19 |
Model("Cyberpunk Anime Diffusion", "DGSpitzer/Cyberpunk-Anime-Diffusion", "dgs illustration style "),
|
20 |
Model("Guan Yu Diffusion", "DGSpitzer/Guan-Yu-Diffusion", "Guan-Yu"),
|
21 |
Model("SD21","models/stabilityai/stable-diffusion-2-1", "")
|
22 |
]
|
23 |
|
24 |
-
custom_model = models[
|
25 |
|
26 |
gr.Interface.load(
|
27 |
name= custom_model,
|
28 |
-
title="""
|
29 |
-
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">
|
30 |
article=article,
|
31 |
api_key=API_KEY,
|
32 |
).queue(concurrency_count=20).launch()
|
|
|
15 |
self.pipe_i2i = None
|
16 |
|
17 |
models = [
|
18 |
+
Model("Marvel","ItsJayQz/Marvel_WhatIf_Diffusion", "whatif style"),
|
19 |
Model("Cyberpunk Anime Diffusion", "DGSpitzer/Cyberpunk-Anime-Diffusion", "dgs illustration style "),
|
20 |
Model("Guan Yu Diffusion", "DGSpitzer/Guan-Yu-Diffusion", "Guan-Yu"),
|
21 |
Model("SD21","models/stabilityai/stable-diffusion-2-1", "")
|
22 |
]
|
23 |
|
24 |
+
custom_model = models[0].path
|
25 |
|
26 |
gr.Interface.load(
|
27 |
name= custom_model,
|
28 |
+
title="""AlStable sandbox""",
|
29 |
+
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",
|
30 |
article=article,
|
31 |
api_key=API_KEY,
|
32 |
).queue(concurrency_count=20).launch()
|