abrar-adnan commited on
Commit
0b0c34c
1 Parent(s): 87c5f78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,12 +62,12 @@ def video_processing(video):
62
  cv2.destroyAllWindows()
63
  end_time = time.time()
64
  print(f'Time taken: {end_time-start_time}')
65
- return gaze_percentage
66
 
67
 
68
  demo = gr.Interface(fn = video_processing,
69
  inputs= gr.Video(),
70
- outputs = gr.Text()
71
  )
72
 
73
  if __name__ == "__main__":
 
62
  cv2.destroyAllWindows()
63
  end_time = time.time()
64
  print(f'Time taken: {end_time-start_time}')
65
+ return str(gaze_percentage)
66
 
67
 
68
  demo = gr.Interface(fn = video_processing,
69
  inputs= gr.Video(),
70
+ outputs = 'text'
71
  )
72
 
73
  if __name__ == "__main__":