Spaces:
Runtime error
Runtime error
Commit
·
75f6546
1
Parent(s):
dffbba9
update
Browse files
app.py
CHANGED
@@ -76,13 +76,11 @@ with gr.Blocks(css=css) as demo:
|
|
76 |
with gr.Tab("CosXL Edit"):
|
77 |
with gr.Group():
|
78 |
with gr.Row():
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
with gr.Column():
|
85 |
-
output_edit = gr.Image(label="Your result image", interactive=False)
|
86 |
with gr.Accordion("Advanced Settings", open=False):
|
87 |
negative_prompt_edit = gr.Textbox(label="Negative Prompt")
|
88 |
guidance_scale_edit = gr.Number(label="Guidance Scale", value=7)
|
|
|
76 |
with gr.Tab("CosXL Edit"):
|
77 |
with gr.Group():
|
78 |
with gr.Row():
|
79 |
+
image_edit = gr.Image(label="Image you would like to edit", type="pil")
|
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)
|