launch show_api=False bypass
Browse files428 unmodified lines429430431432428 unmodified linesif __name__ == "__main__":build_ui().launch()428 unmodified lines429430431432433434435436437438439440441428 unmodified linesif __name__ == "__main__":# show_api=False bypasses gradio 4.44's broken JSON-schema introspector# which hits `additionalProperties: True` on the new BYOM-tab schemas# and crashes the /info endpoint. The handlers still work over the# normal WebSocket; only the auto-generated API docs are disabled.build_ui().launch(server_name="0.0.0.0",server_port=7860,share=False,show_api=False,)
app.py+10-1