Update app.py
Browse files
app.py
CHANGED
@@ -402,7 +402,7 @@ with gr.Blocks(title="YouTube Segment Downloader", theme=gr.themes.Default(), cs
|
|
402 |
|
403 |
with gr.Row(elem_classes="main-content"):
|
404 |
with gr.Column(elem_classes="input-section"):
|
405 |
-
with gr.
|
406 |
with gr.Row():
|
407 |
video_url = gr.Textbox(label="YouTube URL", placeholder="Paste URL here", elem_classes="url-input")
|
408 |
quality = gr.Dropdown(label="Quality", choices=[], interactive=True, elem_classes="quality-dropdown", visible=False)
|
@@ -422,7 +422,7 @@ with gr.Blocks(title="YouTube Segment Downloader", theme=gr.themes.Default(), cs
|
|
422 |
segments = gr.Dataframe(headers=["Segment"], row_count=3, col_count=1, datatype=["str"], interactive=True, label="Segments")
|
423 |
|
424 |
with gr.Column(elem_classes="options-section"):
|
425 |
-
with gr.
|
426 |
combine = gr.Checkbox(label="Combine segments", value=True)
|
427 |
audio_only = gr.Checkbox(label="Audio only", value=False)
|
428 |
remove_index = gr.Number(label="Remove segment", minimum=0, step=1, value=0)
|
@@ -433,7 +433,7 @@ with gr.Blocks(title="YouTube Segment Downloader", theme=gr.themes.Default(), cs
|
|
433 |
submit_btn = gr.Button("🚀 Download", variant="primary")
|
434 |
|
435 |
with gr.Column(elem_classes="output-section"):
|
436 |
-
with gr.
|
437 |
progress = gr.Slider(label="Progress", minimum=0, maximum=100, step=1, interactive=False)
|
438 |
status = gr.Textbox(label="Status", lines=1)
|
439 |
output_file = gr.File(label="Downloaded File")
|
|
|
402 |
|
403 |
with gr.Row(elem_classes="main-content"):
|
404 |
with gr.Column(elem_classes="input-section"):
|
405 |
+
with gr.Column(elem_classes="scroll-area"):
|
406 |
with gr.Row():
|
407 |
video_url = gr.Textbox(label="YouTube URL", placeholder="Paste URL here", elem_classes="url-input")
|
408 |
quality = gr.Dropdown(label="Quality", choices=[], interactive=True, elem_classes="quality-dropdown", visible=False)
|
|
|
422 |
segments = gr.Dataframe(headers=["Segment"], row_count=3, col_count=1, datatype=["str"], interactive=True, label="Segments")
|
423 |
|
424 |
with gr.Column(elem_classes="options-section"):
|
425 |
+
with gr.Column(elem_classes="scroll-area"):
|
426 |
combine = gr.Checkbox(label="Combine segments", value=True)
|
427 |
audio_only = gr.Checkbox(label="Audio only", value=False)
|
428 |
remove_index = gr.Number(label="Remove segment", minimum=0, step=1, value=0)
|
|
|
433 |
submit_btn = gr.Button("🚀 Download", variant="primary")
|
434 |
|
435 |
with gr.Column(elem_classes="output-section"):
|
436 |
+
with gr.Column(elem_classes="scroll-area"):
|
437 |
progress = gr.Slider(label="Progress", minimum=0, maximum=100, step=1, interactive=False)
|
438 |
status = gr.Textbox(label="Status", lines=1)
|
439 |
output_file = gr.File(label="Downloaded File")
|