StyleExplorer / env.example
Adisri99's picture
Upload 12 files
c4a0359 verified
# Copy this file to `.env` in the same directory and fill in your values.
# Hugging Face Dataset repository to store uploads/results/gallery
# Format: <username>/<dataset-name>
HF_DATASET_REPO=your-username/style-transfer-data
# Hugging Face access token with write permission to the dataset
# Create at: https://huggingface.co/settings/tokens
HF_TOKEN=hf_your_secret_token
# Comma-separated list of allowed origins for CORS
# Include your local dev, GitHub Pages, and deployed frontend URLs
ALLOWED_ORIGINS=http://localhost:4200,https://your-username.github.io
# Master password for admin access (required)
MASTER_PASSWORD=your-master-password-here
# Admin email for receiving permission request notifications (required)
ADMIN_EMAIL=admin@example.com
# Email service configuration (for sending notifications)
# SMTP settings (for Gmail or other SMTP servers)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_FROM_EMAIL=your-email@gmail.com
# Optional: JWT secret key (defaults to MASTER_PASSWORD if not set)
# JWT_SECRET_KEY=your-jwt-secret-key