Spaces:
Running
Running
abrar-adnan
commited on
Commit
•
5b4c50e
1
Parent(s):
caf5a0a
imported pathlib
Browse files
app.py
CHANGED
@@ -5,6 +5,10 @@ import face_recognition
|
|
5 |
from fastai.vision.all import *
|
6 |
import time
|
7 |
|
|
|
|
|
|
|
|
|
8 |
model = load_learner('gaze-recognizer-v1.pkl')
|
9 |
|
10 |
def video_processing(video):
|
|
|
5 |
from fastai.vision.all import *
|
6 |
import time
|
7 |
|
8 |
+
import pathlib
|
9 |
+
temp = pathlib.PosixPath
|
10 |
+
pathlib.PosixPath = pathlib.WindowsPath
|
11 |
+
|
12 |
model = load_learner('gaze-recognizer-v1.pkl')
|
13 |
|
14 |
def video_processing(video):
|