Spaces:
Running
Running
Commit
·
b34b866
1
Parent(s):
4c79528
options/Video_model/Model.py
CHANGED
@@ -37,5 +37,5 @@ def Video(image):
|
|
37 |
path="generated.mp4"
|
38 |
# Export the frames to a video file
|
39 |
export_to_video(frames, path, fps=7)
|
40 |
-
|
41 |
-
return
|
|
|
37 |
path="generated.mp4"
|
38 |
# Export the frames to a video file
|
39 |
export_to_video(frames, path, fps=7)
|
40 |
+
vid=cv2.VideoCapture(path)
|
41 |
+
return vid
|
options/Video_model/__pycache__/Model.cpython-310.pyc
CHANGED
Binary files a/options/Video_model/__pycache__/Model.cpython-310.pyc and b/options/Video_model/__pycache__/Model.cpython-310.pyc differ
|
|