Spaces:
Runtime error
Runtime error
Download codeinterpreterapi/config.py from brzhang/codeinterpreter: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/spaces/brzhang/codeinterpreter/resolve/2b0a7dbfd078868e8b299fe67ab4889bb3cc4161/codeinterpreterapi/config.py
- Command line
-
hf download hf://spaces/brzhang/codeinterpreter@2b0a7dbfd078868e8b299fe67ab4889bb3cc4161/codeinterpreterapi/config.py
-
curl -L -o config.py https://huggingface.co/spaces/brzhang/codeinterpreter/resolve/2b0a7dbfd078868e8b299fe67ab4889bb3cc4161/codeinterpreterapi/config.py
343 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() | |