HenRick69 commited on
Commit
5b0b374
1 Parent(s): 0e1cc2f

Updating the streaming function... again!

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ movement_controller = FacePosition()
8
 
9
  cursor_movement = gr.Interface(
10
  fn = movement_controller.predict,
11
- inputs = gr.Image(source='webcam', streaming=False),
12
  outputs = ['image', 'text'],
13
  live = True,
14
  title = 'Cursor movement controller',
 
8
 
9
  cursor_movement = gr.Interface(
10
  fn = movement_controller.predict,
11
+ inputs = gr.Image(source='webcam', streaming=True),
12
  outputs = ['image', 'text'],
13
  live = True,
14
  title = 'Cursor movement controller',