mikeboone Claude Sonnet 4.6 commited on
Commit
511df0a
·
1 Parent(s): 0c2ea33

fix: disable API docs to prevent gradio_client schema crash

Browse files

show_api=False prevents /info endpoint from triggering the
TypeError in gradio_client json_schema_to_python_type.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -40,4 +40,5 @@ app.launch(
40
  share=False,
41
  inbrowser=False,
42
  auth=authenticate_user,
 
43
  )
 
40
  share=False,
41
  inbrowser=False,
42
  auth=authenticate_user,
43
+ show_api=False,
44
  )