Spaces:
Runtime error
Runtime error
| import os | |
| from pydantic_settings import BaseSettings | |
| class Settings(BaseSettings): | |
| SOLANA_NETWORK: str = os.getenv("SOLANA_NETWORK", "mainnet-beta") | |
| SOLANA_RPC_URL: str = os.getenv("SOLANA_RPC_URL", "https://api.mainnet-beta.solana.com") | |
| PLATFORM_WALLET_ADDRESS: str = os.getenv("PLATFORM_WALLET_ADDRESS", "") | |
| TRITON_URL: str = os.getenv("TRITON_URL", "localhost:8001") | |
| MODEL_NAME: str = os.getenv("MODEL_NAME", "wizardlm-7b") | |
| class Config: | |
| env_file = ".env" | |
| settings = Settings() |