Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def image_vision(image_input_path, prompt):
|
|
90 |
|
91 |
def video_vision(video_input_path, prompt, video_interval):
|
92 |
# Open the original video
|
93 |
-
cap = cv2.VideoCapture(
|
94 |
|
95 |
# Get original video properties
|
96 |
original_fps = cap.get(cv2.CAP_PROP_FPS)
|
|
|
90 |
|
91 |
def video_vision(video_input_path, prompt, video_interval):
|
92 |
# Open the original video
|
93 |
+
cap = cv2.VideoCapture(video_input_path)
|
94 |
|
95 |
# Get original video properties
|
96 |
original_fps = cap.get(cv2.CAP_PROP_FPS)
|