Spaces:
Running
on
Zero
Running
on
Zero
resize images
Browse files
app.py
CHANGED
@@ -324,10 +324,10 @@ Following the algorithm proposed in IP-Composer: Semantic Composition of Visual
|
|
324 |
use_concpet_from_file_3 = gr.State()
|
325 |
with gr.Row():
|
326 |
with gr.Column():
|
327 |
-
base_image = gr.Image(label="Base Image (Required)", type="numpy")
|
328 |
with gr.Tab("Concept 1"):
|
329 |
with gr.Group():
|
330 |
-
concept_image1 = gr.Image(label="Concept Image 1", type="numpy")
|
331 |
with gr.Row():
|
332 |
concept_name1 = gr.Dropdown(concept_options, label="Concept 1", value=None, info="Pick concept type")
|
333 |
with gr.Accordion("π‘ Or use a new concept π", open=False):
|
@@ -339,7 +339,7 @@ Following the algorithm proposed in IP-Composer: Semantic Composition of Visual
|
|
339 |
|
340 |
with gr.Tab("Concept 2 (Optional)"):
|
341 |
with gr.Group():
|
342 |
-
concept_image2 = gr.Image(label="Concept Image 2", type="numpy")
|
343 |
with gr.Row():
|
344 |
concept_name2 = gr.Dropdown(concept_options, label="Concept 2", value=None, info="Pick concept type")
|
345 |
with gr.Accordion("π‘ Or use a new concept π", open=False):
|
@@ -352,7 +352,7 @@ Following the algorithm proposed in IP-Composer: Semantic Composition of Visual
|
|
352 |
|
353 |
with gr.Tab("Concept 3 (optional)"):
|
354 |
with gr.Group():
|
355 |
-
concept_image3 = gr.Image(label="Concept Image 3", type="numpy")
|
356 |
with gr.Row():
|
357 |
concept_name3 = gr.Dropdown(concept_options, label="Concept 3", value= None, info="Pick concept type")
|
358 |
with gr.Accordion("π‘ Or use a new concept π", open=False):
|
|
|
324 |
use_concpet_from_file_3 = gr.State()
|
325 |
with gr.Row():
|
326 |
with gr.Column():
|
327 |
+
base_image = gr.Image(label="Base Image (Required)", type="numpy", height=350, width=350)
|
328 |
with gr.Tab("Concept 1"):
|
329 |
with gr.Group():
|
330 |
+
concept_image1 = gr.Image(label="Concept Image 1", type="numpy", height=350, width=350)
|
331 |
with gr.Row():
|
332 |
concept_name1 = gr.Dropdown(concept_options, label="Concept 1", value=None, info="Pick concept type")
|
333 |
with gr.Accordion("π‘ Or use a new concept π", open=False):
|
|
|
339 |
|
340 |
with gr.Tab("Concept 2 (Optional)"):
|
341 |
with gr.Group():
|
342 |
+
concept_image2 = gr.Image(label="Concept Image 2", type="numpy", height=350, width=350)
|
343 |
with gr.Row():
|
344 |
concept_name2 = gr.Dropdown(concept_options, label="Concept 2", value=None, info="Pick concept type")
|
345 |
with gr.Accordion("π‘ Or use a new concept π", open=False):
|
|
|
352 |
|
353 |
with gr.Tab("Concept 3 (optional)"):
|
354 |
with gr.Group():
|
355 |
+
concept_image3 = gr.Image(label="Concept Image 3", type="numpy", height=350, width=350)
|
356 |
with gr.Row():
|
357 |
concept_name3 = gr.Dropdown(concept_options, label="Concept 3", value= None, info="Pick concept type")
|
358 |
with gr.Accordion("π‘ Or use a new concept π", open=False):
|