Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +55 -69
requirements.txt
CHANGED
|
@@ -7,119 +7,105 @@ transformers
|
|
| 7 |
streamlit>=1.28.0
|
| 8 |
streamlit-option-menu>=0.3.6
|
| 9 |
|
| 10 |
-
# AI/ML Models and NLP
|
| 11 |
-
transformers>=4.
|
| 12 |
-
torch>=
|
| 13 |
-
torchvision>=0.
|
| 14 |
-
torchaudio>=
|
| 15 |
-
tokenizers>=0.
|
| 16 |
-
huggingface-hub>=0.
|
| 17 |
-
accelerate>=0.
|
| 18 |
-
safetensors>=0.
|
| 19 |
|
| 20 |
# NLP Processing
|
| 21 |
textblob>=0.17.1
|
| 22 |
-
nltk>=3.
|
| 23 |
-
|
| 24 |
-
scikit-learn>=1.3.0
|
| 25 |
|
| 26 |
# Data Visualization
|
| 27 |
-
plotly>=5.
|
| 28 |
-
matplotlib>=3.
|
| 29 |
-
seaborn>=0.
|
| 30 |
|
| 31 |
# Data Processing
|
| 32 |
-
pandas>=
|
| 33 |
-
numpy>=1.
|
| 34 |
-
openpyxl>=3.
|
| 35 |
-
xlsxwriter>=3.
|
| 36 |
|
| 37 |
# Financial Data
|
| 38 |
-
yfinance>=0.
|
| 39 |
pandas-datareader>=0.10.0
|
| 40 |
alpha-vantage>=2.3.1
|
| 41 |
-
finnhub-python>=2.4.
|
| 42 |
|
| 43 |
# Web Scraping and APIs
|
| 44 |
-
requests>=2.
|
| 45 |
-
beautifulsoup4>=4.
|
| 46 |
-
selenium>=4.
|
| 47 |
feedparser>=6.0.10
|
| 48 |
newspaper3k>=0.2.8
|
| 49 |
|
| 50 |
# Date and Time Processing
|
| 51 |
python-dateutil>=2.8.2
|
| 52 |
-
pytz>=
|
| 53 |
|
| 54 |
# File Processing
|
| 55 |
python-docx>=0.8.11
|
| 56 |
-
PyPDF2>=
|
| 57 |
-
python-magic>=0.4.27
|
| 58 |
|
| 59 |
# Caching and Performance
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
joblib>=1.3.0
|
| 63 |
|
| 64 |
# Configuration and Environment
|
| 65 |
-
python-dotenv>=
|
| 66 |
-
|
| 67 |
-
pyyaml>=6.0.1
|
| 68 |
|
| 69 |
# Logging and Monitoring
|
| 70 |
-
loguru>=0.
|
| 71 |
-
sentry-sdk>=1.38.0
|
| 72 |
|
| 73 |
# Testing (Optional - for development)
|
| 74 |
-
pytest>=7.
|
| 75 |
-
pytest-streamlit>=1.0.0
|
| 76 |
|
| 77 |
# Database Support (Optional)
|
| 78 |
-
sqlalchemy>=
|
| 79 |
-
psycopg2-binary>=2.9.
|
| 80 |
-
sqlite3 # Built-in Python module
|
| 81 |
|
| 82 |
# Additional Utilities
|
| 83 |
-
tqdm>=4.
|
| 84 |
-
click>=8.
|
| 85 |
-
typing-extensions>=4.
|
| 86 |
|
| 87 |
# Security
|
| 88 |
-
cryptography>=
|
| 89 |
-
bcrypt>=4.0.1
|
| 90 |
|
| 91 |
# Email Support (for alerts)
|
| 92 |
-
|
| 93 |
-
email-validator>=2.1.0
|
| 94 |
|
| 95 |
# API Rate Limiting
|
| 96 |
ratelimit>=2.2.1
|
| 97 |
backoff>=2.2.1
|
| 98 |
|
| 99 |
# Image Processing (if needed for charts/logos)
|
| 100 |
-
Pillow>=
|
| 101 |
|
| 102 |
# Financial Calculations
|
| 103 |
-
scipy>=1.
|
| 104 |
-
statsmodels>=0.
|
| 105 |
-
ta>=0.10.2
|
| 106 |
|
| 107 |
# Development Tools (Optional)
|
| 108 |
-
black>=
|
| 109 |
-
flake8>=
|
| 110 |
-
isort>=5.
|
| 111 |
-
|
| 112 |
-
#
|
| 113 |
-
#
|
| 114 |
-
#
|
| 115 |
-
|
| 116 |
-
#
|
| 117 |
-
|
| 118 |
-
#
|
| 119 |
-
#
|
| 120 |
-
|
| 121 |
-
transformers==4.35.2
|
| 122 |
-
torch==2.1.1
|
| 123 |
-
plotly==5.17.0
|
| 124 |
-
pandas==2.1.3
|
| 125 |
-
numpy==1.24.4
|
|
|
|
| 7 |
streamlit>=1.28.0
|
| 8 |
streamlit-option-menu>=0.3.6
|
| 9 |
|
| 10 |
+
# AI/ML Models and NLP (Compatible with Python 3.8+)
|
| 11 |
+
transformers>=4.21.0
|
| 12 |
+
torch>=1.13.0
|
| 13 |
+
torchvision>=0.14.0
|
| 14 |
+
torchaudio>=0.13.0
|
| 15 |
+
tokenizers>=0.13.0
|
| 16 |
+
huggingface-hub>=0.10.0
|
| 17 |
+
accelerate>=0.20.0
|
| 18 |
+
safetensors>=0.3.0
|
| 19 |
|
| 20 |
# NLP Processing
|
| 21 |
textblob>=0.17.1
|
| 22 |
+
nltk>=3.7
|
| 23 |
+
scikit-learn>=1.1.0
|
|
|
|
| 24 |
|
| 25 |
# Data Visualization
|
| 26 |
+
plotly>=5.10.0
|
| 27 |
+
matplotlib>=3.5.0
|
| 28 |
+
seaborn>=0.11.0
|
| 29 |
|
| 30 |
# Data Processing
|
| 31 |
+
pandas>=1.5.0
|
| 32 |
+
numpy>=1.21.0
|
| 33 |
+
openpyxl>=3.0.0
|
| 34 |
+
xlsxwriter>=3.0.0
|
| 35 |
|
| 36 |
# Financial Data
|
| 37 |
+
yfinance>=0.1.87
|
| 38 |
pandas-datareader>=0.10.0
|
| 39 |
alpha-vantage>=2.3.1
|
| 40 |
+
finnhub-python>=2.4.0
|
| 41 |
|
| 42 |
# Web Scraping and APIs
|
| 43 |
+
requests>=2.28.0
|
| 44 |
+
beautifulsoup4>=4.11.0
|
| 45 |
+
selenium>=4.5.0
|
| 46 |
feedparser>=6.0.10
|
| 47 |
newspaper3k>=0.2.8
|
| 48 |
|
| 49 |
# Date and Time Processing
|
| 50 |
python-dateutil>=2.8.2
|
| 51 |
+
pytz>=2022.1
|
| 52 |
|
| 53 |
# File Processing
|
| 54 |
python-docx>=0.8.11
|
| 55 |
+
PyPDF2>=2.12.0
|
|
|
|
| 56 |
|
| 57 |
# Caching and Performance
|
| 58 |
+
diskcache>=5.4.0
|
| 59 |
+
joblib>=1.2.0
|
|
|
|
| 60 |
|
| 61 |
# Configuration and Environment
|
| 62 |
+
python-dotenv>=0.20.0
|
| 63 |
+
pyyaml>=6.0
|
|
|
|
| 64 |
|
| 65 |
# Logging and Monitoring
|
| 66 |
+
loguru>=0.6.0
|
|
|
|
| 67 |
|
| 68 |
# Testing (Optional - for development)
|
| 69 |
+
pytest>=7.1.0
|
|
|
|
| 70 |
|
| 71 |
# Database Support (Optional)
|
| 72 |
+
sqlalchemy>=1.4.0
|
| 73 |
+
psycopg2-binary>=2.9.0
|
|
|
|
| 74 |
|
| 75 |
# Additional Utilities
|
| 76 |
+
tqdm>=4.64.0
|
| 77 |
+
click>=8.0.0
|
| 78 |
+
typing-extensions>=4.3.0
|
| 79 |
|
| 80 |
# Security
|
| 81 |
+
cryptography>=37.0.0
|
|
|
|
| 82 |
|
| 83 |
# Email Support (for alerts)
|
| 84 |
+
email-validator>=1.2.0
|
|
|
|
| 85 |
|
| 86 |
# API Rate Limiting
|
| 87 |
ratelimit>=2.2.1
|
| 88 |
backoff>=2.2.1
|
| 89 |
|
| 90 |
# Image Processing (if needed for charts/logos)
|
| 91 |
+
Pillow>=9.0.0
|
| 92 |
|
| 93 |
# Financial Calculations
|
| 94 |
+
scipy>=1.9.0
|
| 95 |
+
statsmodels>=0.13.0
|
| 96 |
+
ta>=0.10.2
|
| 97 |
|
| 98 |
# Development Tools (Optional)
|
| 99 |
+
black>=22.0.0
|
| 100 |
+
flake8>=5.0.0
|
| 101 |
+
isort>=5.10.0
|
| 102 |
+
|
| 103 |
+
# Removed problematic packages:
|
| 104 |
+
# - pytest-streamlit (doesn't exist)
|
| 105 |
+
# - sqlite3 (built-in module)
|
| 106 |
+
# - smtplib (built-in module)
|
| 107 |
+
# - python-magic (platform dependent)
|
| 108 |
+
# - redis (not essential for basic functionality)
|
| 109 |
+
# - sentry-sdk (optional monitoring)
|
| 110 |
+
# - configparser (built-in module)
|
| 111 |
+
# - bcrypt (not essential for basic functionality)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|