pszemraj commited on
Commit
43e4710
1 Parent(s): 5f70018

turn off api

Browse files

Signed-off-by: peter szemraj <peterszemraj@gmail.com>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -231,11 +231,11 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=_styles) as demo:
231
  ],
232
  outputs=[output],
233
  # preprocess=False,
234
- batch=False,
235
  show_progress=True,
236
  )
237
 
238
- demo.queue(max_size=10).launch(
239
  debug=True,
240
  server_port=DEFAULT_PORT,
241
  show_api=False,
 
231
  ],
232
  outputs=[output],
233
  # preprocess=False,
234
+ # batch=False,
235
  show_progress=True,
236
  )
237
 
238
+ demo.queue(max_size=10, api_open=False).launch(
239
  debug=True,
240
  server_port=DEFAULT_PORT,
241
  show_api=False,