Heng2004 commited on
Commit
181cebd
·
verified ·
1 Parent(s): 04301d9

Update model_utils.py

Browse files
Files changed (1) hide show
  1. model_utils.py +8 -1
model_utils.py CHANGED
@@ -9,7 +9,13 @@ from sentence_transformers import SentenceTransformer
9
  from sentence_transformers.util import cos_sim
10
 
11
  import qa_store
12
- from loader import load_curriculum, load_manual_qa, rebuild_combined_qa, load_glossary
 
 
 
 
 
 
13
 
14
  # -----------------------------
15
  # Base chat model
@@ -87,6 +93,7 @@ def _build_glossary_embeddings() -> None:
87
  # -----------------------------
88
  # Load data once at import time
89
  # -----------------------------
 
90
  load_curriculum()
91
  load_manual_qa()
92
  load_glossary()
 
9
  from sentence_transformers.util import cos_sim
10
 
11
  import qa_store
12
+ from loader import (
13
+ load_curriculum,
14
+ load_manual_qa,
15
+ rebuild_combined_qa,
16
+ load_glossary,
17
+ sync_download_manual_qa # <--- Import it
18
+ )
19
 
20
  # -----------------------------
21
  # Base chat model
 
93
  # -----------------------------
94
  # Load data once at import time
95
  # -----------------------------
96
+ sync_download_manual_qa()
97
  load_curriculum()
98
  load_manual_qa()
99
  load_glossary()