indo_summary_AI / requirements.txt
Flippinjack's picture
added the pdf and docs packages
2942720
raw
history blame contribute delete
626 Bytes
# Requirements for Hugging Face Spaces Deployment
# Simplified version - only what's needed for Gradio app
# Core ML Libraries
torch>=2.2.2
transformers>=4.37.2
sentencepiece>=0.1.99
# Gradio for web interface
gradio>=4.0.0
# File reading libraries for document upload
pypdf>=4.0.0
python-docx>=1.0.0
# Tokenization
tiktoken>=0.5.1
# Optional utilities (only if needed)
numpy>=1.26
tqdm>=4.66.1
# LEARNING NOTES:
# - Removed jupyter, matplotlib, pandas (not needed for deployment)
# - Removed tensorflow (not used in Gradio app)
# - Kept only essential libraries
# - Hugging Face Spaces handles most system dependencies