maxinethegreat commited on
Commit
7a63bb5
1 Parent(s): fac68ca

ui aesthestics

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -41,7 +41,7 @@ def predict_emotion(frame):
41
 
42
 
43
  input_image = gr.inputs.Image(source = "webcam")
44
- # image = gr.inputs.Video(source = "webcam" )
45
 
46
  output_image = gr.inputs.Image(type = "numpy", label="Emotion Detection" )
47
 
@@ -52,8 +52,8 @@ iface = gr.Interface(
52
  inputs=input_image,
53
  outputs=output_image,
54
  # interpretation = "default",
55
- title = "Mood Detective",
56
- description = "Real-Time Emotion Detection"
57
  )
58
 
59
  iface.launch()
 
41
 
42
 
43
  input_image = gr.inputs.Image(source = "webcam")
44
+ # video = gr.inputs.Video(source = "webcam" )
45
 
46
  output_image = gr.inputs.Image(type = "numpy", label="Emotion Detection" )
47
 
 
52
  inputs=input_image,
53
  outputs=output_image,
54
  # interpretation = "default",
55
+ title = "Mood Detectives",
56
+ description = "Real-Time Emotion Detection\nDetects Angry, Happy, Sad, Fear, Disgust, Surprise, Neutral Facial Expressions"
57
  )
58
 
59
  iface.launch()