measmonysuon commited on
Commit
ef59601
1 Parent(s): 467be8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -265,6 +265,7 @@ def create_gradio_interface():
265
 
266
  def launch_gradio():
267
  interface = create_gradio_interface()
 
268
  interface.launch(show_error=True) # Enable verbose error reporting
269
 
270
  if __name__ == '__main__':
 
265
 
266
  def launch_gradio():
267
  interface = create_gradio_interface()
268
+ interface.queue(max_size=20, api_open=False) # Configure queue and API accessibility
269
  interface.launch(show_error=True) # Enable verbose error reporting
270
 
271
  if __name__ == '__main__':