maxineattobrah commited on
Commit
cba10ea
·
verified ·
1 Parent(s): 4fe2f8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,7 +55,7 @@ def predict_emotion(frame):
55
  # cv2.destroyAllWindows()
56
 
57
 
58
- input_image = gr.Image(sources = ["webcam"], streaming = True, label="Your Face")
59
  # video = gr.inputs.Video(source = "webcam" )
60
 
61
  output_image = gr.Image( type="numpy", label="Detected Emotion" )
@@ -75,6 +75,6 @@ iface = gr.Interface(
75
 
76
  )
77
 
78
- # iface.queue(concurrency_count=1000)
79
 
80
  iface.launch()
 
55
  # cv2.destroyAllWindows()
56
 
57
 
58
+ input_image = gr.Image(source = "webcam", streaming = True, label="Your Face")
59
  # video = gr.inputs.Video(source = "webcam" )
60
 
61
  output_image = gr.Image( type="numpy", label="Detected Emotion" )
 
75
 
76
  )
77
 
78
+ iface.queue(concurrency_count=1000)
79
 
80
  iface.launch()