Spaces:
Runtime error
Runtime error
Download main.py from webcodelab/AI-Resume-Ranker-API: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/spaces/webcodelab/AI-Resume-Ranker-API/resolve/main/main.py
- Command line
-
hf download hf://spaces/webcodelab/AI-Resume-Ranker-API/main.py
-
curl -L -o main.py https://huggingface.co/spaces/webcodelab/AI-Resume-Ranker-API/resolve/main/main.py
217 Bytes
| from app import create_app | |
| from dotenv import load_dotenv | |
| import os | |
| load_dotenv() | |
| app = create_app() | |
| if __name__ == '__main__': | |
| port = int(os.environ.get("PORT", 7860)) | |
| app.run(host='0.0.0.0', port=port) | |