kevinwang676 commited on
Commit
72687e5
1 Parent(s): 261ea54

Update app_colab.py

Browse files
Files changed (1) hide show
  1. app_colab.py +3 -3
app_colab.py CHANGED
@@ -194,9 +194,9 @@ def youtube_downloader_100s(
194
  os.makedirs("output", exist_ok=True)
195
  audio_orig = AudioSegment.from_file(audio_path)
196
 
197
- if len(audio_orig) > 120000:
198
- start_ms = 10000
199
- end_ms = start_ms + 110000
200
 
201
  # Extract the segment
202
 
 
194
  os.makedirs("output", exist_ok=True)
195
  audio_orig = AudioSegment.from_file(audio_path)
196
 
197
+ if len(audio_orig) > 180000:
198
+ start_ms = 30000
199
+ end_ms = start_ms + 150000
200
 
201
  # Extract the segment
202