Spaces:
Sleeping
Sleeping
Download app.py from SamanPandey/meta: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/SamanPandey/meta/resolve/main/app.py
- Command line
-
hf download hf://spaces/SamanPandey/meta/app.py
-
curl -L -o app.py https://huggingface.co/spaces/SamanPandey/meta/resolve/main/app.py
244 Bytes
| # server/__init__.py | |
| from server.app import app | |
| # app.py root | |
| import sys, os | |
| sys.path.insert(0, os.path.dirname(__file__)) | |
| from server.app import app | |
| if __name__ == "__main__": | |
| import uvicorn | |
| uvicorn.run(app, host="0.0.0.0", port=7860) | |