Skip to content

Commit

Permalink
Merge pull request #134 from dod-advana/hotfix/doc_compare_fix
Browse files Browse the repository at this point in the history
fixing loading of searcher
  • Loading branch information
rha930 authored Jun 16, 2022
2 parents 3fdf05f + 27953aa commit a2851b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gamechangerml/api/fastapi/routers/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ async def load_models():
MODELS.initWordSim()
MODELS.initTopics()
MODELS.initRecommender()
MODELS.initDocumentCompareEncoder()
# MODELS.initDocumentCompareSearcher()
# MODELS.initDocumentCompareEncoder()
MODELS.initDocumentCompareSearcher()
logger.info("AFTER LOAD MODELS")
else:
logger.info("MODEL_LOAD_FLAG set to False, no models loaded")
Expand Down

0 comments on commit a2851b9

Please sign in to comment.