web_app.get("/") def get_state(request: Request): return {"message": f"This is the state: {request.state.foo}"}
return web_app
which enables support for `gradio>=v4` amongst other libraries using lifespans
0.64.87
- Sandboxes now support port tunneling. Ports can be exposed via the `open_ports` argument, and a list of active tunnels can be retrieved via the `.tunnels()` method.
0.64.67
- Fixed a regression in `modal launch` to resume displaying output when starting the container.