evaluation / configs.py
iyosha's picture
Update configs.py
9aacb8e verified
from pydantic import Field
from pydantic_settings import BaseSettings
from pathlib import Path
class Settings(BaseSettings):
HF_API_TOKEN: str = Field(default="your_hf_api_token")
GOOGLE_SHEET_NAME: str = Field(
default="sheet name"
) # Replace with your actual Google Sheet name
GOOGLE_SHEETS_CREDENTIALS: str = Field(
default="path_to_creds"
) # Replace with your actual Google Sheets credentials
ADMIN_PASSWORD: str = Field(default="admin_password")
USER_PASSWORD: str = Field(default="user_password")
USER_NAME: str = Field(default="user_name")
DS_NAME: str = Field(default="StressPresso")
configs = Settings()