Lamara091 commited on
Commit
f550dd1
1 Parent(s): f493f66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(value=0, list(range(24)), label="Start Hour")
37
- start_time_minutes = gr.Dropdown(value=0, 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")
 
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")