Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 624 Bytes
38c5e59 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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()
|