hardik8588 commited on
Commit
c9b9479
·
verified ·
1 Parent(s): c09a046

Upload .env

Browse files
Files changed (1) hide show
  1. .env +31 -0
.env ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Backend API URL (will be updated to your Hugging Face Space URL)
2
+ BACKEND_URL=https://localhost:7860
3
+
4
+ # Frontend App URL (if you're deploying the frontend separately)
5
+ APP_URL=http://localhost:3000
6
+
7
+ # PayPal Configuration
8
+ PAYPAL_BASE_URL=https://api-m.sandbox.paypal.com
9
+ # PAYPAL_CLIENT_ID= # Set this in Hugging Face Secrets
10
+ # PAYPAL_SECRET= # Set this in Hugging Face Secrets
11
+
12
+ # JWT Secret
13
+ # JWT_SECRET= # Set this in Hugging Face Secrets
14
+
15
+ # HUGGING_FACE_TOKEN= # Set this in Hugging Face Secrets
16
+ USE_INFERENCE_API=True
17
+
18
+ # Database Path (adjusted for Hugging Face container structure)
19
+ DB_PATH=/app/data/user_data.db
20
+
21
+ # Plan IDs Path (adjusted for Hugging Face container structure)
22
+ PLAN_IDS_PATH=/app/data/plan_ids.json
23
+
24
+ # Model Loading Configuration
25
+ LOAD_MODELS=True
26
+ MODELS_CACHE_DIR=/app/models_cache
27
+ # OPENAI_API_KEY= # Set this in Hugging Face Secrets
28
+
29
+ # Hugging Face Spaces Configuration
30
+ PORT=8000
31
+ HOST=0.0.0.0