Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ models = [
|
|
| 19 |
Model("Guan Yu Diffusion", "models/DGSpitzer/Guan-Yu-Diffusion", "Guan-Yu style"),
|
| 20 |
Model("Portrait plus", "models/wavymulder/portraitplus", "portrait+ style"),
|
| 21 |
Model("classic Disney", "models/nitrosocke/classic-anim-diffusion", "classic disney style"),
|
| 22 |
-
Model("SD21","models/stabilityai/stable-diffusion-2-1", "
|
| 23 |
]
|
| 24 |
|
| 25 |
custom_model = "no style selected"
|
|
@@ -37,7 +37,7 @@ def selectModel(message):
|
|
| 37 |
sandbox = gr.Interface.load(
|
| 38 |
fn= selectModel,
|
| 39 |
name= custom_model,
|
| 40 |
-
title="""AlStable
|
| 41 |
inputs = gr.Textbox(label="Prompt", show_label=False, max_lines=2, placeholder="Enter your prompt~", elem_id="input-prompt"),
|
| 42 |
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",
|
| 43 |
article=article,
|
|
|
|
| 19 |
Model("Guan Yu Diffusion", "models/DGSpitzer/Guan-Yu-Diffusion", "Guan-Yu style"),
|
| 20 |
Model("Portrait plus", "models/wavymulder/portraitplus", "portrait+ style"),
|
| 21 |
Model("classic Disney", "models/nitrosocke/classic-anim-diffusion", "classic disney style"),
|
| 22 |
+
Model("SD21","models/stabilityai/stable-diffusion-2-1", "")
|
| 23 |
]
|
| 24 |
|
| 25 |
custom_model = "no style selected"
|
|
|
|
| 37 |
sandbox = gr.Interface.load(
|
| 38 |
fn= selectModel,
|
| 39 |
name= custom_model,
|
| 40 |
+
title="""AlStable sandbox""",
|
| 41 |
inputs = gr.Textbox(label="Prompt", show_label=False, max_lines=2, placeholder="Enter your prompt~", elem_id="input-prompt"),
|
| 42 |
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",
|
| 43 |
article=article,
|