Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,8 @@ sandbox = gr.Interface.load(
|
|
34 |
fn= selectModel,
|
35 |
name= custom_model,
|
36 |
title="""AlStable sandbox""",
|
37 |
-
inputs = gr.Textbox(label="Prompt", show_label=False, max_lines=2, placeholder="Enter your prompt", elem_id="input-prompt1",
|
38 |
-
gr.Textbox(label="Model", show_label=False, max_lines=2, placeholder="Enter your style", elem_id="input-prompt2"),
|
39 |
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",
|
40 |
article=article,
|
41 |
api_key=API_KEY
|
|
|
34 |
fn= selectModel,
|
35 |
name= custom_model,
|
36 |
title="""AlStable sandbox""",
|
37 |
+
inputs = [gr.Textbox(label="Prompt", show_label=False, max_lines=2, placeholder="Enter your prompt", elem_id="input-prompt1",
|
38 |
+
gr.Textbox(label="Model", show_label=False, max_lines=2, placeholder="Enter your style", elem_id="input-prompt2")],
|
39 |
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",
|
40 |
article=article,
|
41 |
api_key=API_KEY
|