Unverified Commit 081df45d authored by Maiko Sinkyaet Tan's avatar Maiko Sinkyaet Tan Committed by GitHub

docs: add python doc (?)

not sure if this available...
parent 423f2222
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment