Download config.py from Chemically-motivated/Ollama_template: direct link, hf CLI and curl.
- Browser
- Download file 248 Bytes
-
https://huggingface.co/spaces/Chemically-motivated/Ollama_template/resolve/main/config.py
- Command line
-
hf download hf://spaces/Chemically-motivated/Ollama_template/config.py
-
curl -L -o config.py https://huggingface.co/spaces/Chemically-motivated/Ollama_template/resolve/main/config.py
248 Bytes
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| OLLAMA_SERVER: str | |
| model_config = SettingsConfigDict(env_file="env", env_file_encoding="utf-8") | |
| # Instantiate the settings | |
| config = Settings() |