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