Spaces:
Running
Running
abrar-adnan
commited on
Commit
•
caf5a0a
1
Parent(s):
80c4c8f
changed model import
Browse files
app.py
CHANGED
@@ -5,11 +5,11 @@ import face_recognition
|
|
5 |
from fastai.vision.all import *
|
6 |
import time
|
7 |
|
|
|
8 |
|
9 |
def video_processing(video):
|
10 |
start_time = time.time()
|
11 |
# Loop through the frames of the video
|
12 |
-
model = load_learner('gaze-recognizer-v1.pkl')
|
13 |
video_capture = cv2.VideoCapture(video)
|
14 |
on_camera = 0
|
15 |
off_camera = 0
|
|
|
5 |
from fastai.vision.all import *
|
6 |
import time
|
7 |
|
8 |
+
model = load_learner('gaze-recognizer-v1.pkl')
|
9 |
|
10 |
def video_processing(video):
|
11 |
start_time = time.time()
|
12 |
# Loop through the frames of the video
|
|
|
13 |
video_capture = cv2.VideoCapture(video)
|
14 |
on_camera = 0
|
15 |
off_camera = 0
|