Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ def download_video(video_url, start_hour, start_minute, start_second, end_hour,
|
|
33 |
|
34 |
def setup_interface():
|
35 |
# 定义输入组件
|
36 |
-
start_time_hours = gr.Dropdown(
|
37 |
-
start_time_minutes = gr.Dropdown(
|
38 |
start_time_seconds = gr.Number(value=0, label="Start Seconds", maximum=59)
|
39 |
end_time_hours = gr.Dropdown(list(range(24)), label="End Hour")
|
40 |
end_time_minutes = gr.Dropdown(list(range(60)), label="End Minute")
|
|
|
33 |
|
34 |
def setup_interface():
|
35 |
# 定义输入组件
|
36 |
+
start_time_hours = gr.Dropdown(list(range(24)), label="Start Hour")
|
37 |
+
start_time_minutes = gr.Dropdown(list(range(60)), label="Start Minute")
|
38 |
start_time_seconds = gr.Number(value=0, label="Start Seconds", maximum=59)
|
39 |
end_time_hours = gr.Dropdown(list(range(24)), label="End Hour")
|
40 |
end_time_minutes = gr.Dropdown(list(range(60)), label="End Minute")
|