Spaces:
iyosha
/
Running on CPU Upgrade

evaluation / configs.py
iyosha's picture
Upload 11 files
38c5e59 verified
raw
history blame contribute delete
624 Bytes
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")
configs = Settings()