Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -231,9 +231,7 @@ following the algorithm proposed in [*IP-Composer: Semantic Composition of Visua
|
|
| 231 |
with gr.Group():
|
| 232 |
concept_image3 = gr.Image(label="Concept Image 3 (Optional)", type="numpy")
|
| 233 |
concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
submit_btn = gr.Button("Generate")
|
| 237 |
|
| 238 |
with gr.Accordion("Advanced options", open=False):
|
| 239 |
prompt = gr.Textbox(label="Guidance Prompt (Optional)", placeholder="Optional text prompt to guide generation")
|
|
@@ -248,6 +246,7 @@ following the algorithm proposed in [*IP-Composer: Semantic Composition of Visua
|
|
| 248 |
|
| 249 |
with gr.Column():
|
| 250 |
output_image = gr.Image(label="composed output", show_label=True)
|
|
|
|
| 251 |
|
| 252 |
|
| 253 |
submit_btn.click(
|
|
|
|
| 231 |
with gr.Group():
|
| 232 |
concept_image3 = gr.Image(label="Concept Image 3 (Optional)", type="numpy")
|
| 233 |
concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
|
| 234 |
+
|
|
|
|
|
|
|
| 235 |
|
| 236 |
with gr.Accordion("Advanced options", open=False):
|
| 237 |
prompt = gr.Textbox(label="Guidance Prompt (Optional)", placeholder="Optional text prompt to guide generation")
|
|
|
|
| 246 |
|
| 247 |
with gr.Column():
|
| 248 |
output_image = gr.Image(label="composed output", show_label=True)
|
| 249 |
+
submit_btn = gr.Button("Generate")
|
| 250 |
|
| 251 |
|
| 252 |
submit_btn.click(
|