Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -294,26 +294,26 @@ following the algorithm proposed in [*IP-Composer: Semantic Composition of Visua
|
|
| 294 |
base_image = gr.Image(label="Base Image (Required)", type="numpy")
|
| 295 |
with gr.Tab("concept 1"):
|
| 296 |
with gr.Row():
|
| 297 |
-
|
| 298 |
concept_image1 = gr.Image(label="Concept Image 1", type="numpy")
|
| 299 |
concept_name1 = gr.Dropdown(concept_options, label="concept 1", value=None, info="concept type")
|
| 300 |
-
|
| 301 |
-
|
| 302 |
|
| 303 |
with gr.Tab("concept 2 - optional"):
|
| 304 |
-
|
| 305 |
concept_image2 = gr.Image(label="Concept Image 2", type="numpy")
|
| 306 |
concept_name2 = gr.Dropdown(concept_options, label="concept 2", value=None, info="concept type")
|
| 307 |
-
|
| 308 |
-
|
| 309 |
|
| 310 |
|
| 311 |
with gr.Tab("concept 3 - optional"):
|
| 312 |
-
|
| 313 |
concept_image3 = gr.Image(label="Concept Image 3", type="numpy")
|
| 314 |
concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
|
| 315 |
-
|
| 316 |
-
|
| 317 |
|
| 318 |
|
| 319 |
|
|
|
|
| 294 |
base_image = gr.Image(label="Base Image (Required)", type="numpy")
|
| 295 |
with gr.Tab("concept 1"):
|
| 296 |
with gr.Row():
|
| 297 |
+
with gr.Group():
|
| 298 |
concept_image1 = gr.Image(label="Concept Image 1", type="numpy")
|
| 299 |
concept_name1 = gr.Dropdown(concept_options, label="concept 1", value=None, info="concept type")
|
| 300 |
+
gr.Markdown("💡 you can use a new concept by uploading a txt/csv file with text variations of your concept")
|
| 301 |
+
concept_file_1 = gr.File(label="concept variations", file_types=["text"])
|
| 302 |
|
| 303 |
with gr.Tab("concept 2 - optional"):
|
| 304 |
+
with gr.Group():
|
| 305 |
concept_image2 = gr.Image(label="Concept Image 2", type="numpy")
|
| 306 |
concept_name2 = gr.Dropdown(concept_options, label="concept 2", value=None, info="concept type")
|
| 307 |
+
gr.Markdown("💡 you can use a new concept by uploading a txt/csv file with text variations of your concept")
|
| 308 |
+
concept_file_2 = gr.File(label="concept variations", file_types=["text"])
|
| 309 |
|
| 310 |
|
| 311 |
with gr.Tab("concept 3 - optional"):
|
| 312 |
+
with gr.Group():
|
| 313 |
concept_image3 = gr.Image(label="Concept Image 3", type="numpy")
|
| 314 |
concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
|
| 315 |
+
gr.Markdown("💡 you can use a new concept by uploading a txt/csv file with text variations of your concept")
|
| 316 |
+
concept_file_3 = gr.File(label="concept variations", file_types=["text"])
|
| 317 |
|
| 318 |
|
| 319 |
|