Spaces:
Runtime error
Runtime error
Download TextGen/ConfigEnv.py from moraxgiga/Deploy-FastAPI-Applications: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/moraxgiga/Deploy-FastAPI-Applications/resolve/3f995e2a461b29a0658cd2d4f7d91efe4fd08529/TextGen/ConfigEnv.py
- Command line
-
hf download hf://spaces/moraxgiga/Deploy-FastAPI-Applications@3f995e2a461b29a0658cd2d4f7d91efe4fd08529/TextGen/ConfigEnv.py
-
curl -L -o ConfigEnv.py https://huggingface.co/spaces/moraxgiga/Deploy-FastAPI-Applications/resolve/3f995e2a461b29a0658cd2d4f7d91efe4fd08529/TextGen/ConfigEnv.py
404 Bytes
| # """Config class for handling env variables. | |
| # """ | |
| # from functools import lru_cache | |
| # from pydantic import BaseSettings | |
| # class Settings(BaseSettings): | |
| # APP_ID: str | |
| # USER_ID: str | |
| # MODEL_ID: str | |
| # CLARIFAI_PAT: str | |
| # MODEL_VERSION_ID: str | |
| # class Config: | |
| # env_file = '.env' | |
| # @lru_cache() | |
| # def get_settings(): | |
| # return Settings() | |
| # config = get_settings() |