fffiloni commited on
Commit
b6ac4ae
1 Parent(s): ab4749b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def input_changes(input_vid):
50
  picked_frames = extract_video_frames(input_vid)
51
  caps = []
52
  for one_frame in picked_frames:
53
- cap = caption(one_frame, "Beam search", 1.2, 0.5, 5, 20, fn_index=0)
54
  caps.append(f"the sound of {cap}")
55
  print(caps)
56
  final_cap = '\n then '.join(caps)
 
50
  picked_frames = extract_video_frames(input_vid)
51
  caps = []
52
  for one_frame in picked_frames:
53
+ cap = caption(one_frame, "Nucleus sampling", 1.2, 0.5, 5, 20, fn_index=0)
54
  caps.append(f"the sound of {cap}")
55
  print(caps)
56
  final_cap = '\n then '.join(caps)