maxinethegreat commited on
Commit
1146509
·
1 Parent(s): 6362d0e

try to reduce lag

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def predict_emotion(frame):
44
  input_image = gr.Image(source = "webcam", streaming = True, label="Your Face")
45
  # video = gr.inputs.Video(source = "webcam" )
46
 
47
- output_image = gr.Image( type="numpy", label="Detected Emotion" )
48
 
49
 
50
 
 
44
  input_image = gr.Image(source = "webcam", streaming = True, label="Your Face")
45
  # video = gr.inputs.Video(source = "webcam" )
46
 
47
+ output_image = gr.Image( type="image", label="Detected Emotion" )
48
 
49
 
50