japanese-denim commited on
Commit
171322c
·
1 Parent(s): 34f081d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -70,10 +70,10 @@ def search_videos():
70
  # append the batch to the list containing all features
71
  video_features = torch.cat((video_features, batch_features))
72
 
73
- # determine if video contains the search item
74
- if contain_search_item(video_frames, video_features, search_item):
75
- matching_videos.append(video_file)
76
- # break
77
 
78
  # return the list of matching videos
79
  return matching_videos
 
70
  # append the batch to the list containing all features
71
  video_features = torch.cat((video_features, batch_features))
72
 
73
+ # determine if video contains the search item
74
+ if contain_search_item(video_frames, video_features, search_item):
75
+ matching_videos.append(video_file)
76
+ # break
77
 
78
  # return the list of matching videos
79
  return matching_videos