Spaces:
Sleeping
Sleeping
Download wsgi.py from Moealsarraj/devkit: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/Moealsarraj/devkit/resolve/main/wsgi.py
- Command line
-
hf download hf://spaces/Moealsarraj/devkit/wsgi.py
-
curl -L -o wsgi.py https://huggingface.co/spaces/Moealsarraj/devkit/resolve/main/wsgi.py
288 Bytes
| import os | |
| from pathlib import Path | |
| _env = Path(__file__).parent / ".env" | |
| if _env.exists(): | |
| from dotenv import load_dotenv | |
| load_dotenv(_env, override=True) | |
| from app import create_app | |
| app = create_app() | |
| if __name__ == "__main__": | |
| app.run(host="0.0.0.0", port=7861, debug=False) | |