Spaces:
Build error
Build error
Upload .env (#5)
Browse files- Upload .env (7cd197bf4a34c5a1c64a48031bbb0ee2a58d6aab)
Co-authored-by: hardik kandpal <[email protected]>
.env
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Backend API URL (will be updated to your Hugging Face Space URL)
|
2 |
+
BACKEND_URL=https://huggingface.co/spaces/tejash300/testing
|
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=ASOzKSgawVTyJpK_1vOKap4TTJ3OsHQ9syDvEX43O2Vi7ZVoto1z6zYWWm20LrrJ-dA9wqD33jrT5qLu
|
10 |
+
PAYPAL_SECRET=ED0YJoSvOq6sUjOfQvz88Z-NsFhDyK2Dv2TUI3LOoEZ11rkNev92Cp6O8d2mBLw7fdunKRfHhcMyNuXN
|
11 |
+
|
12 |
+
# JWT Secret
|
13 |
+
JWT_SECRET=13105030e5bfb231ebf59b8cdf91a39571e51a51fe62a4e1c323079f9945cb7d
|
14 |
+
|
15 |
+
# Database Path (adjusted for Hugging Face container structure)
|
16 |
+
DB_PATH=/app/data/user_data.db
|
17 |
+
|
18 |
+
# Plan IDs Path (adjusted for Hugging Face container structure)
|
19 |
+
PLAN_IDS_PATH=/app/data/plan_ids.json
|
20 |
+
|
21 |
+
# Model Loading Configuration
|
22 |
+
LOAD_MODELS=True
|
23 |
+
MODELS_CACHE_DIR=/app/models_cache
|
24 |
+
|
25 |
+
# Hugging Face Spaces Configuration
|
26 |
+
PORT=7860
|
27 |
+
HOST=0.0.0.0
|