Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
89275cd
1
Parent(s):
e0d6ec0
update
Browse files
app.py
CHANGED
@@ -75,11 +75,10 @@ with gr.Blocks(css=css) as demo:
|
|
75 |
''')
|
76 |
with gr.Tab("CosXL Edit"):
|
77 |
with gr.Group():
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
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")
|
|
|
75 |
''')
|
76 |
with gr.Tab("CosXL Edit"):
|
77 |
with gr.Group():
|
78 |
+
image_edit = gr.Image(label="Image you would like to edit", type="pil")
|
79 |
+
prompt_edit = gr.Textbox(label="Prompt", scale=4, placeholder="Edit instructions, e.g.: Make the day cloudy")
|
80 |
+
size_edit = gr.Number(label="Size", value=1024, maximum=1024, minimum=512, precision=0)
|
81 |
+
button_edit = gr.Button("Generate", min_width=120)
|
|
|
82 |
output_edit = gr.Image(label="Your result image", interactive=False)
|
83 |
with gr.Accordion("Advanced Settings", open=False):
|
84 |
negative_prompt_edit = gr.Textbox(label="Negative Prompt")
|