Vachudev commited on
Commit
956fdf0
·
verified ·
1 Parent(s): ad566c3

refined config

Browse files
Files changed (1) hide show
  1. config.py +7 -2
config.py CHANGED
@@ -1,12 +1,14 @@
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.47c4724c105c0275477b8e0aea8415fd.63a086b666a133ca804f692086ee2963"
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
 
@@ -14,6 +16,9 @@ INVOICE_API_BASE = "https://invoice.zoho.in/api/v3"
14
  LOCAL_MODEL = "Qwen/Qwen2.5-1.5B-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
 
 
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
+ # import os
4
+ # --- Zoho API Credentials ---
5
  CLIENT_ID = "1000.SIMKGAO5719K0TQ0QZQ31ZU57RLFNQ"
6
  CLIENT_SECRET = "60b329b4fe51930abee900cba6524ec7332cd67e06"
7
  REFRESH_TOKEN = "1000.47c4724c105c0275477b8e0aea8415fd.63a086b666a133ca804f692086ee2963"
8
  ORGANIZATION_ID = "60058860935"
9
 
10
+ # --- Endpoints ---
11
+ # Base URL for Zoho CRM/Books
12
  API_BASE = "https://www.zohoapis.in/crm/v2"
13
  INVOICE_API_BASE = "https://invoice.zoho.in/api/v3"
14
 
 
16
  LOCAL_MODEL = "Qwen/Qwen2.5-1.5B-Instruct"
17
  LOCAL_TOKENIZER = None
18
 
19
+ # --- LLM Config ---
20
+ # Ensure your HuggingFace Spaces environment has GPU/CPU resources allocated
21
+ # LOCAL_MODEL_ID = "Qwen/Qwen2.5-1.5B-Instruct"
22
  # Optional: toggle demo behaviour at runtime via environment variable DEMO=true
23
  # To avoid accidental API calls on startup, leave DEMO unset (or set to false) in production
24