Spaces:
Sleeping
Sleeping
Download _wsgi.py from CUSL-Jeremy/segment-anything: direct link, hf CLI and curl.
- Browser
- Download file 180 Bytes
-
https://huggingface.co/spaces/CUSL-Jeremy/segment-anything/resolve/main/_wsgi.py
- Command line
-
hf download hf://spaces/CUSL-Jeremy/segment-anything/_wsgi.py
-
curl -L -o _wsgi.py https://huggingface.co/spaces/CUSL-Jeremy/segment-anything/resolve/main/_wsgi.py
180 Bytes
| from label_studio_ml.api import init_app | |
| from model import SamMLBackend | |
| app = init_app(model_class=SamMLBackend) | |
| if __name__ == "__main__": | |
| app.run(host="0.0.0.0", port=9090) |