Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,10 +24,9 @@ def selectModel(message, models):
|
|
24 |
|
25 |
sandbox = gr.Interface.load(
|
26 |
fn= selectModel,
|
27 |
-
name= custom_model,
|
28 |
title="AlStable sandbox text to img",
|
29 |
inputs = ["text", gr.Dropdown(models)],
|
30 |
-
|
31 |
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",
|
32 |
article=article,
|
33 |
api_key=API_KEY
|
|
|
24 |
|
25 |
sandbox = gr.Interface.load(
|
26 |
fn= selectModel,
|
|
|
27 |
title="AlStable sandbox text to img",
|
28 |
inputs = ["text", gr.Dropdown(models)],
|
29 |
+
outputs = "image",
|
30 |
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",
|
31 |
article=article,
|
32 |
api_key=API_KEY
|