maxinethegreat commited on
Commit
989e55b
·
1 Parent(s): a89798f

try to reduce lag

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -53,6 +53,7 @@ iface = gr.Interface(
53
  inputs=input_image,
54
  outputs=output_image,
55
  batch = True,
 
56
  # interpretation = "default",
57
  title = "Mood Detectives",
58
  description = "Real-Time Emotion Detection Using Facial Expressions:\nCan our model detect if you are angry, happy, sad, fearful, disgusted, surprised or neutral?",
 
53
  inputs=input_image,
54
  outputs=output_image,
55
  batch = True,
56
+ max_batch_size = 100,
57
  # interpretation = "default",
58
  title = "Mood Detectives",
59
  description = "Real-Time Emotion Detection Using Facial Expressions:\nCan our model detect if you are angry, happy, sad, fearful, disgusted, surprised or neutral?",