Spaces:
Running
on
Zero
Running
on
Zero
make only concept 1 input in front tab
Browse files
app.py
CHANGED
@@ -240,19 +240,19 @@ following the algorithm proposed in [*IP-Composer: Semantic Composition of Visua
|
|
240 |
with gr.Row():
|
241 |
with gr.Column():
|
242 |
base_image = gr.Image(label="Base Image (Required)", type="numpy")
|
243 |
-
with gr.Tab("
|
244 |
with gr.Row():
|
245 |
with gr.Group():
|
246 |
-
concept_image1 = gr.Image(label="Concept Image 1
|
247 |
concept_name1 = gr.Dropdown(concept_options, label="concept 1", value=None, info="concept type")
|
248 |
|
249 |
-
|
250 |
-
|
|
|
251 |
concept_name2 = gr.Dropdown(concept_options, label="concept 2", value=None, info="concept type")
|
252 |
-
|
253 |
-
with gr.Tab("optional - 3rd concept"):
|
254 |
with gr.Group():
|
255 |
-
concept_image3 = gr.Image(label="Concept Image 3
|
256 |
concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
|
257 |
|
258 |
|
|
|
240 |
with gr.Row():
|
241 |
with gr.Column():
|
242 |
base_image = gr.Image(label="Base Image (Required)", type="numpy")
|
243 |
+
with gr.Tab("concept 1"):
|
244 |
with gr.Row():
|
245 |
with gr.Group():
|
246 |
+
concept_image1 = gr.Image(label="Concept Image 1", type="numpy")
|
247 |
concept_name1 = gr.Dropdown(concept_options, label="concept 1", value=None, info="concept type")
|
248 |
|
249 |
+
with gr.Tab("concept 2 - optional"):
|
250 |
+
with gr.Group():
|
251 |
+
concept_image2 = gr.Image(label="Concept Image 2", type="numpy")
|
252 |
concept_name2 = gr.Dropdown(concept_options, label="concept 2", value=None, info="concept type")
|
253 |
+
with gr.Tab("concept 3 - optional"):
|
|
|
254 |
with gr.Group():
|
255 |
+
concept_image3 = gr.Image(label="Concept Image 3", type="numpy")
|
256 |
concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
|
257 |
|
258 |
|