Spaces:
Runtime error
Runtime error
Upload requirement.txt
Browse files- requirement.txt +16 -0
requirement.txt
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# requirements.txt for BBC News Summarizer
|
| 2 |
+
|
| 3 |
+
# Core dependencies
|
| 4 |
+
gradio==4.24.0 # For the web interface
|
| 5 |
+
transformers==4.38.2 # For T5 and BART models
|
| 6 |
+
torch==2.2.1 # PyTorch for model computations
|
| 7 |
+
requests==2.31.0 # For fetching URL content
|
| 8 |
+
beautifulsoup4==4.12.3 # For HTML parsing
|
| 9 |
+
gtts==2.5.1 # For text-to-speech conversion
|
| 10 |
+
|
| 11 |
+
# Additional dependencies required by the above packages
|
| 12 |
+
numpy==1.26.4 # Required by transformers and torch
|
| 13 |
+
sentencepiece==0.2.0 # Required by T5 tokenizer
|
| 14 |
+
tokenizers==0.15.2 # Required by transformers
|
| 15 |
+
huggingface-hub==0.21.4 # For model downloading
|
| 16 |
+
pyaudio==0.2.14 # For audio handling (optional, if needed for playback)
|