shaoyent commited on
Commit
d597aa1
1 Parent(s): 643bcb5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ def extract_images_and_embeds(video_id, video_path, subtitles, output, expanded=
134
  batch_list = []
135
  vtt = webvtt.read(subtitles)
136
 
137
- for idx, caption in progress.tqdm(enumerate(webvtt.read(subtitles)), total=vtt.total_length, desc="Generating embeddings"):
138
  st_time = str2time(caption.start)
139
  ed_time = str2time(caption.end)
140
 
 
134
  batch_list = []
135
  vtt = webvtt.read(subtitles)
136
 
137
+ for idx, caption in enumerate(progress.tqdm(webvtt.read(subtitles), total=vtt.total_length, desc="Generating embeddings")):
138
  st_time = str2time(caption.start)
139
  ed_time = str2time(caption.end)
140