NewsAI_web_app / requirements.txt
Akilashamnaka12's picture
Update requirements.txt
95f7641 verified
# ── Core ──────────────────────────────────────────────────────────────────────
streamlit>=1.33.0
pandas>=2.0.0
# ── NLP / ML ──────────────────────────────────────────────────────────────────
# Use CPU-only torch to keep the Space build fast and free-tier friendly.
# HF Spaces installs the correct CUDA build automatically if a GPU is attached.
torch>=2.1.0
transformers>=4.40.0
accelerate>=0.27.0
sentencepiece>=0.1.99
# ── Text analytics helpers ────────────────────────────────────────────────────
nltk>=3.8.1
wordcloud>=1.9.3
# ── Plotting ──────────────────────────────────────────────────────────────────
matplotlib>=3.8.0
# ── File handling ─────────────────────────────────────────────────────────────
openpyxl>=3.1.2
# ── Scikit (optional – needed if your fine-tuned model uses sklearn tokeniser)
scikit-learn>=1.4.0