Changed model location

This commit is contained in:
Dispatcharr 2025-04-09 16:32:21 -05:00
parent 929b4ddedd
commit 19d9b5be8f

View file

@ -11,7 +11,7 @@ from sentence_transformers import SentenceTransformer as st
# Load the sentence-transformers model once at the module level
SENTENCE_MODEL_NAME = "sentence-transformers/all-MiniLM-L6-v2"
MODEL_PATH = os.path.join("/app/media", "models", "all-MiniLM-L6-v2")
MODEL_PATH = os.path.join("/app", "models", "all-MiniLM-L6-v2")
# Thresholds
BEST_FUZZY_THRESHOLD = 85