Skip to content

Commit

Permalink
Updated some documentation to be more clear in utils
Browse files Browse the repository at this point in the history
  • Loading branch information
danyoungday committed Oct 8, 2024
1 parent 96a4d91 commit 8000a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions use_cases/eluc/app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def sort_cand_id(cand_id: str):

def load_prescriptors(self) -> PrescriptorManager:
"""
Loads in prescriptors from disk, downloads from HuggingFace first if needed.
TODO: Currently hard-coded to load specific prescriptors from pareto path.
Loads in prescriptors from a hard-coded location on disk.
Loads predictor from HuggingFace if needed.
:return: dict of prescriptor name -> prescriptor object.
"""
with open("app/results/fields.json", "r", encoding="utf-8") as f:
Expand Down

0 comments on commit 8000a25

Please sign in to comment.