Spaces:
Runtime error
Runtime error
Commit
·
e0d6ec0
1
Parent(s):
75f6546
update
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ with gr.Blocks(css=css) as demo:
|
|
80 |
prompt_edit = gr.Textbox(label="Prompt", scale=4, placeholder="Edit instructions, e.g.: Make the day cloudy")
|
81 |
size_edit = gr.Number(label="Size", value=1024, maximum=1024, minimum=512, precision=0)
|
82 |
button_edit = gr.Button("Generate", min_width=120)
|
83 |
-
|
84 |
with gr.Accordion("Advanced Settings", open=False):
|
85 |
negative_prompt_edit = gr.Textbox(label="Negative Prompt")
|
86 |
guidance_scale_edit = gr.Number(label="Guidance Scale", value=7)
|
|
|
80 |
prompt_edit = gr.Textbox(label="Prompt", scale=4, placeholder="Edit instructions, e.g.: Make the day cloudy")
|
81 |
size_edit = gr.Number(label="Size", value=1024, maximum=1024, minimum=512, precision=0)
|
82 |
button_edit = gr.Button("Generate", min_width=120)
|
83 |
+
output_edit = gr.Image(label="Your result image", interactive=False)
|
84 |
with gr.Accordion("Advanced Settings", open=False):
|
85 |
negative_prompt_edit = gr.Textbox(label="Negative Prompt")
|
86 |
guidance_scale_edit = gr.Number(label="Guidance Scale", value=7)
|