Download code/tt_depthpro2/server/__init__.py from changh95/DepthPro2: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/changh95/DepthPro2/resolve/main/code/tt_depthpro2/server/__init__.py
- Command line
-
hf download hf://changh95/DepthPro2/code/tt_depthpro2/server/__init__.py
-
curl -L -o __init__.py https://huggingface.co/changh95/DepthPro2/resolve/main/code/tt_depthpro2/server/__init__.py
442 Bytes
| # SPDX-License-Identifier: Apache-2.0 | |
| """HTTP serving of DepthPro2: ``app.py`` (the ASGI app tt-model runs with uvicorn), ``client.py`` (stdlib request | |
| builder and sender, runnable as a script), ``smoke_test.py`` (stdlib PASS / FAIL check of a running server: ETH | |
| dispatch and the 12x10 grid asserted, the serve-profile pins, the depth of the shipped sample against its stored | |
| CPU-reference output, the video route, and the 400 refusals).""" | |