change layout
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(), title="Global Dataset Maker") as ap
|
|
| 151 |
maxdur = gr.Number(label="Max duration", minimum=1, maximum=10, value=5)
|
| 152 |
name_for_split_files = gr.Textbox(label="Name for split files")
|
| 153 |
show_amount_of_files_and_file_dur = gr.Checkbox(False, label="Show total amount of files and duration?")
|
| 154 |
-
|
| 155 |
splitbtn.click(
|
| 156 |
split_audio_from_yt_video,
|
| 157 |
inputs=[mindur, maxdur, name_for_split_files, show_amount_of_files_and_file_dur],
|
|
|
|
| 151 |
maxdur = gr.Number(label="Max duration", minimum=1, maximum=10, value=5)
|
| 152 |
name_for_split_files = gr.Textbox(label="Name for split files")
|
| 153 |
show_amount_of_files_and_file_dur = gr.Checkbox(False, label="Show total amount of files and duration?")
|
| 154 |
+
splitbtn = gr.Button("Split", variant='primary')
|
| 155 |
splitbtn.click(
|
| 156 |
split_audio_from_yt_video,
|
| 157 |
inputs=[mindur, maxdur, name_for_split_files, show_amount_of_files_and_file_dur],
|