-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (25 loc) · 883 Bytes
/
Copy path.env.example
File metadata and controls
30 lines (25 loc) · 883 Bytes
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
# ============================================
# Vercel + Hugging Face Deployment
# ============================================
# 1. Buat Hugging Face Space: https://huggingface.co/spaces
# 2. Upload model dan app.py ke Space
# 3. Copy URL Space ke sini:
NEXT_PUBLIC_HF_API_URL=https://mikeyweilds-spoofing.hf.space/api/predict
# 4. (Opsional) Get HF token dari https://huggingface.co/settings/tokens
# NEXT_PUBLIC_HF_API_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxxxxx
# ============================================
# Local Development
# ============================================
# NODE_ENV=development
# NEXT_TELEMETRY_DISABLED=1
# Model Configuration (untuk local inference)
# MODEL_PATH=./model/model.onnx
# ONNX_PATH=./model/model.onnx
# USE_ONNX=true
# IMAGE_SIZE=224
# Security
# RATE_LIMIT=20
# MAX_FILE_SIZE=10485760
# Performance
# SCAN_INTERVAL=4000
# INFERENCE_TIMEOUT=120000