mrbeliever commited on
Commit
faf0e93
1 Parent(s): a2f8ee0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -117,4 +117,6 @@ with gr.Blocks(css=css, elem_id="demo-container") as demo:
117
  )
118
 
119
  if __name__ == "__main__":
120
- demo.launch()
 
 
 
117
  )
118
 
119
  if __name__ == "__main__":
120
+ # Enable queue mode and CORS support
121
+ demo.queue(concurrency_count=30, cors_allow_origins=["*"])
122
+ demo.launch()