Xueqing commited on
Commit
d9a957a
·
verified ·
1 Parent(s): 3b86545

Update backend/app/config/base.py

Browse files
Files changed (1) hide show
  1. backend/app/config/base.py +4 -2
backend/app/config/base.py CHANGED
@@ -1,6 +1,8 @@
1
  import os
2
  from pathlib import Path
3
 
 
 
4
  # Server configuration
5
  HOST = "0.0.0.0"
6
  PORT = 7860
@@ -19,8 +21,8 @@ RATE_LIMIT_QUOTA = 5
19
  HAS_HIGHER_RATE_LIMIT = []
20
 
21
  # HuggingFace configuration
22
- HF_TOKEN = os.environ.get("HF_TOKEN")
23
- HF_ORGANIZATION = "Xueqing"
24
  API = {
25
  "INFERENCE": "https://api-inference.huggingface.co/models",
26
  "HUB": "https://huggingface.co"
 
1
  import os
2
  from pathlib import Path
3
 
4
+ from app.config.hf_config import HF_TOKEN, HF_ORGANIZATION, HF_AGGREGATED
5
+
6
  # Server configuration
7
  HOST = "0.0.0.0"
8
  PORT = 7860
 
21
  HAS_HIGHER_RATE_LIMIT = []
22
 
23
  # HuggingFace configuration
24
+ # HF_TOKEN = os.environ.get("HF_TOKEN")
25
+ # HF_ORGANIZATION = "Xueqing"
26
  API = {
27
  "INFERENCE": "https://api-inference.huggingface.co/models",
28
  "HUB": "https://huggingface.co"