Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,8 +62,8 @@ with gr.Blocks() as demo:
|
|
| 62 |
col_count=(3, "fixed"),
|
| 63 |
)
|
| 64 |
file = gr.File(file_count='multiple')
|
| 65 |
-
|
| 66 |
-
|
| 67 |
|
| 68 |
gr.Markdown("*****")
|
| 69 |
gr.Examples([os.path.join(os.path.dirname(__file__), "test.mp4")], inputs=input_video)
|
|
|
|
| 62 |
col_count=(3, "fixed"),
|
| 63 |
)
|
| 64 |
file = gr.File(file_count='multiple')
|
| 65 |
+
btn_make_dataset = gr.Button(value="make dataset")
|
| 66 |
+
btn_make_dataset.click(make_dataset, inputs=df, outputs=file)
|
| 67 |
|
| 68 |
gr.Markdown("*****")
|
| 69 |
gr.Examples([os.path.join(os.path.dirname(__file__), "test.mp4")], inputs=input_video)
|