Commit
•
51a7c5b
1
Parent(s):
7a86538
Update app.py
Browse files
app.py
CHANGED
@@ -565,7 +565,7 @@ with gr.Blocks(css=css) as demo:
|
|
565 |
visible = False
|
566 |
is_visible.append(gr.State(value=False))
|
567 |
|
568 |
-
file_collection.append(gr.File(label=f'''Upload the images for your {ordinal(x+1) if (x>0) else ""} concept''', file_count="multiple", interactive=True, visible=visible))
|
569 |
with gr.Column(visible=visible) as row[x]:
|
570 |
concept_collection.append(gr.Textbox(label=f'''{ordinal(x+1) if (x>0) else ""} concept prompt - use a unique, made up word to avoid collisions'''))
|
571 |
with gr.Row():
|
|
|
565 |
visible = False
|
566 |
is_visible.append(gr.State(value=False))
|
567 |
|
568 |
+
file_collection.append(gr.File(file_types="image", label=f'''Upload the images for your {ordinal(x+1) if (x>0) else ""} concept''', file_count="multiple", interactive=True, visible=visible))
|
569 |
with gr.Column(visible=visible) as row[x]:
|
570 |
concept_collection.append(gr.Textbox(label=f'''{ordinal(x+1) if (x>0) else ""} concept prompt - use a unique, made up word to avoid collisions'''))
|
571 |
with gr.Row():
|