Download start.py from NGOC1712/svm_model: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/NGOC1712/svm_model/resolve/main/start.py
- Command line
-
hf download hf://spaces/NGOC1712/svm_model/start.py
-
curl -L -o start.py https://huggingface.co/spaces/NGOC1712/svm_model/resolve/main/start.py
318 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| Start script for the SVM Fake News Classifier | |
| """ | |
| import uvicorn | |
| from app import app | |
| if __name__ == "__main__": | |
| print("Starting SVM Fake News Classifier...") | |
| uvicorn.run( | |
| app, | |
| host="0.0.0.0", | |
| port=8000, | |
| log_level="info", | |
| reload=False | |
| ) | |