sindhi-ngram / app.py
hellosindh
Run production Flask API server directly on port 7860 with threaded mode
6b0c9ce
Raw History Blame Contribute Delete
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)