linoyts HF Staff commited on
Commit
1a94351
·
verified ·
1 Parent(s): 747633e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -296,20 +296,25 @@ following the algorithm proposed in [*IP-Composer: Semantic Composition of Visua
296
  with gr.Row():
297
  with gr.Group():
298
  concept_image1 = gr.Image(label="Concept Image 1", type="numpy")
299
- concept_file_1 = gr.File(label="concept variations", file_types=["text"])
300
  concept_name1 = gr.Dropdown(concept_options, label="concept 1", value=None, info="concept type")
301
-
 
 
302
  with gr.Tab("concept 2 - optional"):
303
  with gr.Group():
304
  concept_image2 = gr.Image(label="Concept Image 2", type="numpy")
305
- concept_file_2 = gr.File(label="concept variations", file_types=["text"])
306
  concept_name2 = gr.Dropdown(concept_options, label="concept 2", value=None, info="concept type")
 
 
 
307
 
308
  with gr.Tab("concept 3 - optional"):
309
- with gr.Group():
310
  concept_image3 = gr.Image(label="Concept Image 3", type="numpy")
311
- concept_file_3 = gr.File(label="concept variations", file_types=["text"])
312
  concept_name3 = gr.Dropdown(concept_options, label="concept 3", value= None, info="concept type")
 
 
 
313
 
314
 
315
  with gr.Accordion("Advanced options", open=False):
 
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
 
320
  with gr.Accordion("Advanced options", open=False):