EmTpro01's picture
Update app/config.py
0883580 verified
raw
history blame contribute delete
272 Bytes
# app/config.py
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
MODEL_NAME: str = "flax-community/t5-recipe-generation"
MAX_LENGTH: int = 512
TEMPERATURE: float = 0.7
TOP_P: float = 0.9
class Config:
env_file = ".env"