Spaces:
Sleeping
Sleeping
| # config.py β Zoho + local model configuration | |
| # IMPORTANT: This file contains sensitive credentials. Keep it local and DO NOT commit to a public repository. | |
| CLIENT_ID = "1000.SIMKGAO5719K0TQ0QZQ31ZU57RLFNQ" | |
| CLIENT_SECRET = "60b329b4fe51930abee900cba6524ec7332cd67e06" | |
| REFRESH_TOKEN = "1000.47c4724c105c0275477b8e0aea8415fd.63a086b666a133ca804f692086ee2963" | |
| ORGANIZATION_ID = "60058860935" | |
| # Zoho API endpoints (India data center) | |
| API_BASE = "https://www.zohoapis.in/crm/v2" | |
| INVOICE_API_BASE = "https://invoice.zoho.in/api/v3" | |
| # Local model (set to None if you prefer not to load a local HF model) | |
| LOCAL_MODEL = "Qwen/Qwen2.5-1.5B-Instruct" | |
| # LOCAL_MODEL = "prithivMLmods/chandra-OCR-GGUF" | |
| LOCAL_TOKENIZER = None | |
| # Optional: toggle demo behaviour at runtime via environment variable DEMO=true | |
| # To avoid accidental API calls on startup, leave DEMO unset (or set to false) in production | |
| # NOTE: If your LOCAL_MODEL points to a gated HF repo, ensure the runtime has proper HF auth | |
| # (HUGGINGFACE_HUB_TOKEN or similar) and access to the model. If you don't have access, set | |
| # LOCAL_MODEL = None or to a public model like "google/flan-t5-small". | |