Skip to content

Commit

Permalink
fix(nutrisight): fix model dir
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Dec 26, 2024
1 parent 4f13fbb commit 125250d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robotoff/prediction/nutrition_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
logger = get_logger(__name__)

MODEL_NAME = "nutrition_extractor"
MODEL_VERSION = f"{MODEL_NAME}-1.0"
MODEL_VERSION = f"{MODEL_NAME}-2.0"

# The tokenizer assets are stored in the model directory
MODEL_DIR = settings.TRITON_MODELS_DIR / f"{MODEL_NAME}/1/model.onnx"
MODEL_DIR = settings.TRITON_MODELS_DIR / f"{MODEL_NAME}/2/model.onnx"


@dataclasses.dataclass
Expand Down

0 comments on commit 125250d

Please sign in to comment.