Spaces:
Runtime error
Runtime error
Kvikontent
commited on
Commit
•
78f07f4
1
Parent(s):
e88f579
Update app.py
Browse files
app.py
CHANGED
@@ -80,8 +80,8 @@ def train_image_generation_model(image_folder, text_folder, model_name="image_ge
|
|
80 |
iface = gr.Interface(
|
81 |
fn=train_image_generation_model,
|
82 |
inputs=[
|
83 |
-
gr.File(label="Image Folder"),
|
84 |
-
gr.File(label="Text Prompts Folder"),
|
85 |
gr.Textbox(label="Model Name"),
|
86 |
],
|
87 |
outputs=gr.File(label="Model File"),
|
|
|
80 |
iface = gr.Interface(
|
81 |
fn=train_image_generation_model,
|
82 |
inputs=[
|
83 |
+
gr.File(label="Image Folder", file_count="directory"),
|
84 |
+
gr.File(label="Text Prompts Folder", file_count="directory"),
|
85 |
gr.Textbox(label="Model Name"),
|
86 |
],
|
87 |
outputs=gr.File(label="Model File"),
|