docs: add python doc (?)

not sure if this available...
master
Maiko Sinkyaet Tan 3 years ago committed by GitHub
parent 423f222283
commit 081df45da4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -103,6 +103,8 @@ def add_callback(callbacks, fun):
def on_app_started(callback):
"""register a function to be called when the webui started, the gradio `Block` component and
fastapi `FastAPI` object are passed as the arguments"""
add_callback(callbacks_app_started, callback)

Loading…
Cancel
Save