Text_summarization / requirement.txt
zurin14's picture
Upload requirement.txt
c69fb8d verified
raw
history blame contribute delete
673 Bytes
# requirements.txt for BBC News Summarizer
# Core dependencies
gradio==4.24.0 # For the web interface
transformers==4.38.2 # For T5 and BART models
torch==2.2.1 # PyTorch for model computations
requests==2.31.0 # For fetching URL content
beautifulsoup4==4.12.3 # For HTML parsing
gtts==2.5.1 # For text-to-speech conversion
# Additional dependencies required by the above packages
numpy==1.26.4 # Required by transformers and torch
sentencepiece==0.2.0 # Required by T5 tokenizer
tokenizers==0.15.2 # Required by transformers
huggingface-hub==0.21.4 # For model downloading
pyaudio==0.2.14 # For audio handling (optional, if needed for playback)