Spaces:
Runtime error
Runtime error
Download src/__init__.py from AryanSifars/ipns-poc-eval: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/AryanSifars/ipns-poc-eval/resolve/main/src/__init__.py
- Command line
-
hf download hf://spaces/AryanSifars/ipns-poc-eval/src/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/AryanSifars/ipns-poc-eval/resolve/main/src/__init__.py
331 Bytes
| from dotenv import load_dotenv | |
| import os | |
| from .app import app | |
| from .config import logger | |
| load_dotenv() | |
| if not os.getenv("SQLALCHEMY_DATABASE_URI"): | |
| logger.error("SQLALCHEMY_DATABASE_URI is not set") | |
| raise ValueError("SQLALCHEMY_DATABASE_URI is not set") | |
| __all__ = ["app"] | |
| __version__ = "0.1.0" | |
| __author__ = "Aryan Jain" |