Update app.py
Browse files
app.py
CHANGED
@@ -302,7 +302,7 @@ with gr.Blocks(theme='sudeepshouche/minimalist', title="Global Dataset Maker") a
|
|
302 |
mindur2 = gr.Number(label="Min duration", minimum=1, maximum=10, value=1)
|
303 |
maxdur2 = gr.Number(label="Max duration", minimum=1, maximum=10, value=5)
|
304 |
name_for_split_files2 = gr.Textbox(label="Name for split files")
|
305 |
-
strict = gr.Checkbox(
|
306 |
audiofileuploadbtn = gr.Button("Split", variant='primary')
|
307 |
audiofileuploadbtn.click(
|
308 |
split_wav_or_mp3_file,
|
|
|
302 |
mindur2 = gr.Number(label="Min duration", minimum=1, maximum=10, value=1)
|
303 |
maxdur2 = gr.Number(label="Max duration", minimum=1, maximum=10, value=5)
|
304 |
name_for_split_files2 = gr.Textbox(label="Name for split files")
|
305 |
+
strict = gr.Checkbox(False, label="Enable strict duration?", info="Use this option if you want to minimize the '(audio_file) is less than 0.76 seconds' warning on Colab. Keep in mind that this only applies for min duration, max is ignored.")
|
306 |
audiofileuploadbtn = gr.Button("Split", variant='primary')
|
307 |
audiofileuploadbtn.click(
|
308 |
split_wav_or_mp3_file,
|