Spaces:
Running on Zero
Running on Zero
Download app/__init__.py from aseemlais/ats-engine: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/spaces/aseemlais/ats-engine/resolve/main/app/__init__.py
- Command line
-
hf download hf://spaces/aseemlais/ats-engine/app/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/aseemlais/ats-engine/resolve/main/app/__init__.py
465 Bytes
| # Expose ASGI FastAPI application so `app:app` works seamlessly. | |
| # Lazy import so that importing sub-modules (e.g. app.services.*) in unit tests | |
| # does NOT eagerly initialise ATSScreeningAdapter / EmbeddingService, which | |
| # would hang in sandboxed environments with no network access. | |
| def __getattr__(name: str): | |
| if name == "app": | |
| from app.server import app as _app | |
| return _app | |
| raise AttributeError(f"module 'app' has no attribute {name!r}") | |