maxinethegreat commited on
Commit
f46798f
·
1 Parent(s): 7cc8ae2

testing ui features

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,10 +45,10 @@ def predict_emotion(frame):
45
  # cv2.destroyAllWindows()
46
 
47
 
48
- image = gr.inputs.Image(source = "webcam", shape=(48,48) )
49
  # label = gr.outputs.Label(num_top_classes=7)
50
 
51
- label = gr.inputs.Image(type = "numpy", label="Emotion Detection")
52
 
53
 
54
 
 
45
  # cv2.destroyAllWindows()
46
 
47
 
48
+ image = gr.inputs.Image(source = "webcam", shape=(300,300) )
49
  # label = gr.outputs.Label(num_top_classes=7)
50
 
51
+ label = gr.inputs.Image(type = "numpy", label="Emotion Detection", shape=(300,300) )
52
 
53
 
54