maxinethegreat commited on
Commit
0e8a5c7
·
1 Parent(s): d80ccbc

try to reduce lag

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,7 +53,7 @@ iface = gr.Interface(
53
  inputs=input_image,
54
  outputs=output_image,
55
  batch = True,
56
- max_batch_size = 1,
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?",
@@ -61,6 +61,6 @@ iface = gr.Interface(
61
 
62
  )
63
 
64
- iface.queue(concurrency_count=1000)
65
 
66
  iface.launch()
 
53
  inputs=input_image,
54
  outputs=output_image,
55
  batch = True,
56
+ max_batch_size = 100000,
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?",
 
61
 
62
  )
63
 
64
+ # iface.queue(concurrency_count=1000)
65
 
66
  iface.launch()