Update app.py
Browse files
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, "
|
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)
|