Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -282,19 +282,19 @@ following the algorithm proposed in [*IP-Composer: Semantic Composition of Visua
|
|
| 282 |
with gr.Row():
|
| 283 |
with gr.Group():
|
| 284 |
concept_image1 = gr.Image(label="Concept Image 1", type="numpy")
|
| 285 |
-
concept_file_1 = gr.File(label="concept variations", file_types="text")
|
| 286 |
concept_name1 = gr.Dropdown(concept_options, label="concept 1", value=None, info="concept type")
|
| 287 |
|
| 288 |
with gr.Tab("concept 2 - optional"):
|
| 289 |
with gr.Group():
|
| 290 |
concept_image2 = gr.Image(label="Concept Image 2", type="numpy")
|
| 291 |
-
concept_file_2 = gr.File(label="concept variations", file_types="text")
|
| 292 |
concept_name2 = gr.Dropdown(concept_options, label="concept 2", value=None, info="concept type")
|
| 293 |
|
| 294 |
with gr.Tab("concept 3 - optional"):
|
| 295 |
with gr.Group():
|
| 296 |
concept_image3 = gr.Image(label="Concept Image 3", type="numpy")
|
| 297 |
-
concept_file_3 = gr.File(label="concept variations", file_types="text")
|
| 298 |
concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
|
| 299 |
|
| 300 |
|
|
|
|
| 282 |
with gr.Row():
|
| 283 |
with gr.Group():
|
| 284 |
concept_image1 = gr.Image(label="Concept Image 1", type="numpy")
|
| 285 |
+
concept_file_1 = gr.File(label="concept variations", file_types=["text"])
|
| 286 |
concept_name1 = gr.Dropdown(concept_options, label="concept 1", value=None, info="concept type")
|
| 287 |
|
| 288 |
with gr.Tab("concept 2 - optional"):
|
| 289 |
with gr.Group():
|
| 290 |
concept_image2 = gr.Image(label="Concept Image 2", type="numpy")
|
| 291 |
+
concept_file_2 = gr.File(label="concept variations", file_types=["text"])
|
| 292 |
concept_name2 = gr.Dropdown(concept_options, label="concept 2", value=None, info="concept type")
|
| 293 |
|
| 294 |
with gr.Tab("concept 3 - optional"):
|
| 295 |
with gr.Group():
|
| 296 |
concept_image3 = gr.Image(label="Concept Image 3", type="numpy")
|
| 297 |
+
concept_file_3 = gr.File(label="concept variations", file_types=["text"])
|
| 298 |
concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
|
| 299 |
|
| 300 |
|