Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 171 Bytes
b0538ac |
1 2 3 4 5 6 7 |
from pydantic import BaseModel
class ModelSettings(BaseModel):
provider: str
model: str
api_key: str = ""
temperature: float = 0
max_tokens: int = 1000 |