Spaces:
Running
Running
fix: remove unused nltk import causing ModuleNotFoundError
Browse files
app/utils/preprocessing.py
CHANGED
|
@@ -2,7 +2,6 @@ from typing import List
|
|
| 2 |
from .constants import stopwords, short_words_mappings
|
| 3 |
from langchain_core.documents import Document
|
| 4 |
from app.utils.model_factory import get_local_model
|
| 5 |
-
from nltk.stem import PorterStemmer
|
| 6 |
import spacy
|
| 7 |
from pathlib import Path
|
| 8 |
import re
|
|
|
|
| 2 |
from .constants import stopwords, short_words_mappings
|
| 3 |
from langchain_core.documents import Document
|
| 4 |
from app.utils.model_factory import get_local_model
|
|
|
|
| 5 |
import spacy
|
| 6 |
from pathlib import Path
|
| 7 |
import re
|