jhtonyKoo commited on
Commit
f7b0315
1 Parent(s): 14c7484

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -111,10 +111,12 @@ with gr.Blocks() as demo:
111
  label="Enter YouTube Link of the Video", autofocus=True, lines=3
112
  )
113
  yt_in_start_sec = gr.Number(
114
- value=0
 
115
  )
116
  yt_in_duration_sec = gr.Number(
117
- value=30
 
118
  )
119
  yt_btn_in = gr.Button("Download Audio from YouTube Link", size="lg")
120
  yt_audio_path_in = gr.Audio(
@@ -134,10 +136,12 @@ with gr.Blocks() as demo:
134
  label="Enter YouTube Link of the Video", autofocus=True, lines=3
135
  )
136
  yt_ref_start_sec = gr.Number(
137
- value=0
 
138
  )
139
  yt_ref_duration_sec = gr.Number(
140
- value=30
 
141
  )
142
  yt_btn_ref = gr.Button("Download Audio from YouTube Link", size="lg")
143
  yt_audio_path_ref = gr.Audio(
 
111
  label="Enter YouTube Link of the Video", autofocus=True, lines=3
112
  )
113
  yt_in_start_sec = gr.Number(
114
+ value=0,
115
+ label="starting point of the song (in seconds)"
116
  )
117
  yt_in_duration_sec = gr.Number(
118
+ value=30,
119
+ label="duration of the song (in seconds)"
120
  )
121
  yt_btn_in = gr.Button("Download Audio from YouTube Link", size="lg")
122
  yt_audio_path_in = gr.Audio(
 
136
  label="Enter YouTube Link of the Video", autofocus=True, lines=3
137
  )
138
  yt_ref_start_sec = gr.Number(
139
+ value=0,
140
+ label="starting point of the song (in seconds)"
141
  )
142
  yt_ref_duration_sec = gr.Number(
143
+ value=30,
144
+ label="duration of the song (in seconds)"
145
  )
146
  yt_btn_ref = gr.Button("Download Audio from YouTube Link", size="lg")
147
  yt_audio_path_ref = gr.Audio(