Spaces:
Sleeping
Sleeping
Sobroinc
Claude
commited on
Commit
·
60a3775
1
Parent(s):
ffd373c
Fix build error: Add missing nltk dependency
Browse files🐛 Fixed:
- Added nltk==3.8.1 to requirements.txt
- Resolves ModuleNotFoundError when Dockerfile tries to download NLTK data
- Dockerfile line 16 requires nltk module for data download
The error occurred because:
- Dockerfile: RUN python -m nltk.downloader punkt stopwords
- requirements.txt: Missing nltk dependency
- requirements-full.txt: Has nltk but not used by Dockerfile
🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>
- requirements.txt +2 -1
requirements.txt
CHANGED
@@ -2,4 +2,5 @@ fastapi==0.104.1
|
|
2 |
uvicorn==0.24.0
|
3 |
pydantic==2.5.0
|
4 |
python-multipart==0.0.6
|
5 |
-
aiofiles==23.2.1
|
|
|
|
2 |
uvicorn==0.24.0
|
3 |
pydantic==2.5.0
|
4 |
python-multipart==0.0.6
|
5 |
+
aiofiles==23.2.1
|
6 |
+
nltk==3.8.1
|