mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Merge pull request #222 from Monadical-SAS/serverfix
Remove cache dir to use default download paths
This commit is contained in:
@@ -48,10 +48,9 @@ class LLM:
|
||||
Make sure NLTK package is installed. Searches in the cache and
|
||||
downloads only if needed.
|
||||
"""
|
||||
nltk.download("punkt", download_dir=settings.CACHE_DIR)
|
||||
nltk.download("punkt")
|
||||
# For POS tagging
|
||||
nltk.download("averaged_perceptron_tagger", download_dir=settings.CACHE_DIR)
|
||||
nltk.data.path.append(settings.CACHE_DIR)
|
||||
nltk.download("averaged_perceptron_tagger")
|
||||
|
||||
@classmethod
|
||||
def register(cls, name, klass):
|
||||
|
||||
Reference in New Issue
Block a user