manikumargouni commited on
Commit
cd882f4
·
verified ·
1 Parent(s): e2c9720

Upload schemas.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. schemas.py +4 -1
schemas.py CHANGED
@@ -2,7 +2,10 @@ from __future__ import annotations
2
 
3
  from copy import deepcopy
4
 
5
- from config import DECISION_PHASE_LABELS, INTENT_TYPE_LABELS, PROJECT_VERSION, SUBTYPE_LABELS
 
 
 
6
 
7
  API_SCHEMA_VERSION = "2026-03-22"
8
  ALLOWED_MONETIZATION_ELIGIBILITY = {
 
2
 
3
  from copy import deepcopy
4
 
5
+ try:
6
+ from .config import DECISION_PHASE_LABELS, INTENT_TYPE_LABELS, PROJECT_VERSION, SUBTYPE_LABELS # type: ignore
7
+ except ImportError:
8
+ from config import DECISION_PHASE_LABELS, INTENT_TYPE_LABELS, PROJECT_VERSION, SUBTYPE_LABELS
9
 
10
  API_SCHEMA_VERSION = "2026-03-22"
11
  ALLOWED_MONETIZATION_ELIGIBILITY = {