Update app.py
Browse files
app.py
CHANGED
@@ -301,17 +301,17 @@ with gr.Blocks(theme='bethecloud/storj_theme', title="Global Dataset Maker") as
|
|
301 |
[gr.Text(label="Link(s)")]
|
302 |
)
|
303 |
with gr.Tab("Convert many audio files to one file"):
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
|
316 |
with gr.TabItem("Changelog"):
|
317 |
gr.Markdown("v1.1 - Added new tool: Convert many audio files to one file.")
|
|
|
301 |
[gr.Text(label="Link(s)")]
|
302 |
)
|
303 |
with gr.Tab("Convert many audio files to one file"):
|
304 |
+
gr.Markdown("Upload a ZIP full of many audio files and this will attempt to convert it to one long audio file.")
|
305 |
+
with gr.Row():
|
306 |
+
with gr.Column():
|
307 |
+
with gr.Row():
|
308 |
+
zip_upload = gr.File(file_count='single', file_types=[".zip"], label="Zip file")
|
309 |
+
combine_btn = gr.Button("Combine", variant='primary')
|
310 |
+
combine_btn.click(
|
311 |
+
zip_to_many,
|
312 |
+
[zip_upload],
|
313 |
+
[gr.Text(label="Status"), gr.File(label="Combined file")]
|
314 |
+
)
|
315 |
|
316 |
with gr.TabItem("Changelog"):
|
317 |
gr.Markdown("v1.1 - Added new tool: Convert many audio files to one file.")
|