Spaces:
Sleeping
Sleeping
Download app.py from hellosindh/sindhi-ngram: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/hellosindh/sindhi-ngram/resolve/main/app.py
- Command line
-
hf download hf://spaces/hellosindh/sindhi-ngram/app.py
-
curl -L -o app.py https://huggingface.co/spaces/hellosindh/sindhi-ngram/resolve/main/app.py
311 Bytes
| """ | |
| HelloSindh Sindhi Ngram Production Web & API Server | |
| Space: https://huggingface.co/spaces/hellosindh/sindhi-ngram | |
| """ | |
| import os | |
| import sys | |
| from app_backend import app | |
| if __name__ == "__main__": | |
| port = int(os.environ.get("PORT", 7860)) | |
| app.run(host="0.0.0.0", port=port, debug=False, threaded=True) | |