Spaces:
Running
Running
# 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 |