Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,6 @@ def detect_image(image):
|
|
| 132 |
return results.render()[0]
|
| 133 |
|
| 134 |
def detect_video(video):
|
| 135 |
-
video = cv2.VideoCapture(video_path)
|
| 136 |
|
| 137 |
frame_count = 0
|
| 138 |
while True:
|
|
|
|
| 132 |
return results.render()[0]
|
| 133 |
|
| 134 |
def detect_video(video):
|
|
|
|
| 135 |
|
| 136 |
frame_count = 0
|
| 137 |
while True:
|