EJ-L commited on
Commit
fc76c30
·
1 Parent(s): 7c7e472

Remove unsupported show_api parameter

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -203,7 +203,5 @@ demo.queue().launch(
203
  server_name="0.0.0.0",
204
  server_port=PORT,
205
  show_error=False, # avoid large HTML error bodies
206
- debug=False, # avoid big pretty tracebacks (and Content-Length mismatch)
207
- show_api=False # <— key: disables /api/info schema generation
208
- # api_open=False # if your Gradio version expects the old name, use this instead of show_api
209
  )
 
203
  server_name="0.0.0.0",
204
  server_port=PORT,
205
  show_error=False, # avoid large HTML error bodies
206
+ debug=False # avoid big pretty tracebacks (and Content-Length mismatch)
 
 
207
  )