abrar-adnan commited on
Commit
80c4c8f
1 Parent(s): 55244d0

model path revised again

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -5,13 +5,11 @@ import face_recognition
5
  from fastai.vision.all import *
6
  import time
7
 
8
- version = 1
9
- model_path = 'gaze-recognizer-v1.pkl'
10
 
11
  def video_processing(video):
12
  start_time = time.time()
13
  # Loop through the frames of the video
14
- model = load_learner(model_path)
15
  video_capture = cv2.VideoCapture(video)
16
  on_camera = 0
17
  off_camera = 0
 
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