File size: 1,026 Bytes
4f139b7
a1fda73
dc758eb
4f139b7
 
10c9673
4f139b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6ea7b9d
c9b9479
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
32
# Backend API URL (will be updated to your Hugging Face Space URL)
BACKEND_URL=https://hardik8588-doc-analyzer.hf.space
REACT_APP_API_URL=https://hardik8588-doc-analyzer.hf.space

# Frontend App URL (if you're deploying the frontend separately)
APP_URL=https://doc-vid-analyzer.vercel.app

# PayPal Configuration
PAYPAL_BASE_URL=https://api-m.sandbox.paypal.com
# PAYPAL_CLIENT_ID=   # Set this in Hugging Face Secrets
# PAYPAL_SECRET=      # Set this in Hugging Face Secrets

# JWT Secret
# JWT_SECRET=         # Set this in Hugging Face Secrets

# HUGGING_FACE_TOKEN= # Set this in Hugging Face Secrets
USE_INFERENCE_API=True

# Database Path (adjusted for Hugging Face container structure)
DB_PATH=/tmp/data/user_data.db

# Plan IDs Path (adjusted for Hugging Face container structure)
PLAN_IDS_PATH=/tmp/data/plan_ids.json

# Model Loading Configuration
LOAD_MODELS=True
MODELS_CACHE_DIR=/tmp/models_cache
# OPENAI_API_KEY=     # Set this in Hugging Face Secrets

# Hugging Face Spaces Configuration
PORT=7860
HOST=0.0.0.0