vachaspathi commited on
Commit
b7d77a9
·
verified ·
1 Parent(s): 9ee012d

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +14 -1
config.py CHANGED
@@ -1,9 +1,22 @@
 
 
1
 
2
  CLIENT_ID = "1000.SIMKGAO5719K0TQ0QZQ31ZU57RLFNQ"
3
  CLIENT_SECRET = "60b329b4fe51930abee900cba6524ec7332cd67e06"
4
  REFRESH_TOKEN = "1000.adbad9b480feec9f690c01f0c9275c2c.4e26e7c90ea783871fd3f9a4705b25e6"
5
  ORGANIZATION_ID = "60058860935"
6
- API_BASE = "https://www.zohoapis.in/crm/v2"
 
 
7
  INVOICE_API_BASE = "https://invoice.zoho.in/api/v3"
 
 
8
  LOCAL_MODEL = "microsoft/Phi-3.5-mini-instruct"
9
  LOCAL_TOKENIZER = None
 
 
 
 
 
 
 
 
1
+ # config.py — Zoho + local model configuration
2
+ # IMPORTANT: This file contains sensitive credentials. Keep it local and DO NOT commit to a public repository.
3
 
4
  CLIENT_ID = "1000.SIMKGAO5719K0TQ0QZQ31ZU57RLFNQ"
5
  CLIENT_SECRET = "60b329b4fe51930abee900cba6524ec7332cd67e06"
6
  REFRESH_TOKEN = "1000.adbad9b480feec9f690c01f0c9275c2c.4e26e7c90ea783871fd3f9a4705b25e6"
7
  ORGANIZATION_ID = "60058860935"
8
+
9
+ # Zoho API endpoints (India data center)
10
+ API_BASE = "https://www.zohoapis.in/crm/v2"
11
  INVOICE_API_BASE = "https://invoice.zoho.in/api/v3"
12
+
13
+ # Local model (set to None if you prefer not to load a local HF model)
14
  LOCAL_MODEL = "microsoft/Phi-3.5-mini-instruct"
15
  LOCAL_TOKENIZER = None
16
+
17
+ # Optional: toggle demo behaviour at runtime via environment variable DEMO=true
18
+ # To avoid accidental API calls on startup, leave DEMO unset (or set to false) in production.
19
+
20
+ # NOTE: If your LOCAL_MODEL points to a gated HF repo, ensure the runtime has proper HF auth
21
+ # (HUGGINGFACE_HUB_TOKEN or similar) and access to the model. If you don't have access, set
22
+ # LOCAL_MODEL = None or to a public model like "google/flan-t5-small".