Xueqing commited on
Commit
b90f3e9
·
verified ·
1 Parent(s): a5a05d3

Update backend/app/config/hf_config.py

Browse files
Files changed (1) hide show
  1. backend/app/config/hf_config.py +2 -2
backend/app/config/hf_config.py CHANGED
@@ -12,7 +12,7 @@ from app.utils.logging import LogFormatter
12
  logger = logging.getLogger(__name__)
13
 
14
  # Organization or user who owns the datasets
15
- HF_ORGANIZATION = os.environ.get("HF_ORGANIZATION")#, "Xueqing")
16
 
17
  # Get HF token directly from environment
18
  HF_TOKEN = os.environ.get("HF_TOKEN")
@@ -23,7 +23,7 @@ if not HF_TOKEN:
23
  API = HfApi(token=HF_TOKEN)
24
 
25
  # Repository configuration
26
- HF_AGGREGATED = os.environ.get("HF_AGGREGATED")#, "greek-contents")
27
  QUEUE_REPO = f"{HF_ORGANIZATION}/requests"
28
  AGGREGATED_REPO = f"{HF_ORGANIZATION}/{HF_AGGREGATED}"
29
  VOTES_REPO = f"{HF_ORGANIZATION}/votes"
 
12
  logger = logging.getLogger(__name__)
13
 
14
  # Organization or user who owns the datasets
15
+ HF_ORGANIZATION = os.environ.get("HF_ORGANIZATION", "Xueqing")
16
 
17
  # Get HF token directly from environment
18
  HF_TOKEN = os.environ.get("HF_TOKEN")
 
23
  API = HfApi(token=HF_TOKEN)
24
 
25
  # Repository configuration
26
+ HF_AGGREGATED = os.environ.get("HF_AGGREGATED", "greek-contents")
27
  QUEUE_REPO = f"{HF_ORGANIZATION}/requests"
28
  AGGREGATED_REPO = f"{HF_ORGANIZATION}/{HF_AGGREGATED}"
29
  VOTES_REPO = f"{HF_ORGANIZATION}/votes"