File size: 1,111 Bytes
c4a0359
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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