Spaces:
Runtime error
Runtime error
Download codeinterpreterapi/config.py from brzhang/codeinterpreter: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/brzhang/codeinterpreter/resolve/e0cbbfe8ec5bf653874aceb78f2f35a2b41ee7c7/codeinterpreterapi/config.py
- Command line
-
hf download hf://spaces/brzhang/codeinterpreter@e0cbbfe8ec5bf653874aceb78f2f35a2b41ee7c7/codeinterpreterapi/config.py
-
curl -L -o config.py https://huggingface.co/spaces/brzhang/codeinterpreter/resolve/e0cbbfe8ec5bf653874aceb78f2f35a2b41ee7c7/codeinterpreterapi/config.py
336 Bytes
| from pydantic import BaseSettings | |
| from dotenv import load_dotenv | |
| # .env file | |
| load_dotenv() | |
| class CodeInterpreterAPISettings(BaseSettings): | |
| """ | |
| CodeInterpreter API Config | |
| """ | |
| VERBOSE: bool = False | |
| CODEBOX_API_KEY: str | None = None | |
| OPENAI_API_KEY: str | None = None | |
| settings = CodeInterpreterAPISettings() | |