Spaces:
Build error
Build error
Ubuntu
commited on
Commit
·
60b5a4c
1
Parent(s):
17c9603
- .ipynb_checkpoints/app-checkpoint.py +1 -0
- .ipynb_checkpoints/requirements-checkpoint.txt +2 -1
- app.py +1 -0
- requirements.txt +2 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -3,6 +3,7 @@ import os
|
|
| 3 |
import cv2
|
| 4 |
from encoded_video import EncodedVideo, write_video
|
| 5 |
import torch
|
|
|
|
| 6 |
|
| 7 |
def video_identity(filepath):
|
| 8 |
vid = EncodedVideo.from_path(filepath)
|
|
|
|
| 3 |
import cv2
|
| 4 |
from encoded_video import EncodedVideo, write_video
|
| 5 |
import torch
|
| 6 |
+
import numpy as np
|
| 7 |
|
| 8 |
def video_identity(filepath):
|
| 9 |
vid = EncodedVideo.from_path(filepath)
|
.ipynb_checkpoints/requirements-checkpoint.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
opencv-python
|
| 2 |
encoded-video
|
| 3 |
-
torch
|
|
|
|
|
|
| 1 |
opencv-python
|
| 2 |
encoded-video
|
| 3 |
+
torch
|
| 4 |
+
numpy
|
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import os
|
|
| 3 |
import cv2
|
| 4 |
from encoded_video import EncodedVideo, write_video
|
| 5 |
import torch
|
|
|
|
| 6 |
|
| 7 |
def video_identity(filepath):
|
| 8 |
vid = EncodedVideo.from_path(filepath)
|
|
|
|
| 3 |
import cv2
|
| 4 |
from encoded_video import EncodedVideo, write_video
|
| 5 |
import torch
|
| 6 |
+
import numpy as np
|
| 7 |
|
| 8 |
def video_identity(filepath):
|
| 9 |
vid = EncodedVideo.from_path(filepath)
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
opencv-python
|
| 2 |
encoded-video
|
| 3 |
-
torch
|
|
|
|
|
|
| 1 |
opencv-python
|
| 2 |
encoded-video
|
| 3 |
+
torch
|
| 4 |
+
numpy
|