Spaces:
Runtime error
Runtime error
Commit
•
f187f09
1
Parent(s):
6a019a5
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():
|