Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +10 -54
requirements.txt
CHANGED
|
@@ -1,69 +1,25 @@
|
|
| 1 |
-
# Core
|
| 2 |
torch==2.3.1
|
| 3 |
torchvision==0.18.1
|
| 4 |
-
|
| 5 |
-
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 6 |
-
# or for CUDA: --extra-index-url https://download.pytorch.org/whl/cu121
|
| 7 |
-
|
| 8 |
-
# Web/ML Interfaces
|
| 9 |
-
gradio==4.44.0
|
| 10 |
-
plotly==5.24.0
|
| 11 |
-
streamlit==1.38.0
|
| 12 |
-
|
| 13 |
-
# Data Processing
|
| 14 |
numpy==1.26.4
|
| 15 |
pandas==2.2.2
|
| 16 |
-
scikit-learn==1.5.0
|
| 17 |
|
| 18 |
-
#
|
| 19 |
matplotlib==3.9.2
|
| 20 |
pillow==10.4.0
|
| 21 |
-
|
| 22 |
|
| 23 |
-
# RL
|
| 24 |
gymnasium==1.0.0
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
# NLP/Sentiment Analysis
|
| 28 |
-
transformers==4.44.2
|
| 29 |
-
tokenizers==0.20.1
|
| 30 |
textblob==0.18.0
|
| 31 |
vaderSentiment==3.3.2
|
| 32 |
-
nltk==3.8.1
|
| 33 |
|
| 34 |
-
# Web
|
| 35 |
requests==2.32.3
|
| 36 |
beautifulsoup4==4.12.3
|
| 37 |
-
tweepy==4.14.0
|
| 38 |
-
httpx==0.27.0
|
| 39 |
-
|
| 40 |
-
# Utilities
|
| 41 |
-
tqdm==4.66.5
|
| 42 |
-
psutil==6.0.0
|
| 43 |
-
pyyaml==6.0.2
|
| 44 |
-
python-dateutil==2.9.0
|
| 45 |
-
joblib==1.4.2
|
| 46 |
-
|
| 47 |
-
# Audio/Video (optional for advanced features)
|
| 48 |
-
librosa==0.10.2.post1
|
| 49 |
-
pydub==0.25.1
|
| 50 |
-
|
| 51 |
-
# Testing & Development
|
| 52 |
-
pytest==8.3.3
|
| 53 |
-
black==24.8.0
|
| 54 |
-
flake8==7.1.1
|
| 55 |
-
mypy==1.11.1
|
| 56 |
-
|
| 57 |
-
# Optional: Advanced features
|
| 58 |
-
accelerate==1.0.1
|
| 59 |
-
bitsandbytes==0.43.3
|
| 60 |
-
optimum==1.21.0
|
| 61 |
-
sentence-transformers==3.1.1
|
| 62 |
-
|
| 63 |
-
# Security & Monitoring
|
| 64 |
-
python-dotenv==1.0.1
|
| 65 |
-
prometheus-client==0.20.0
|
| 66 |
|
| 67 |
-
#
|
| 68 |
-
|
| 69 |
-
# macOS: tkinter (usually pre-installed)
|
|
|
|
| 1 |
+
# Core
|
| 2 |
torch==2.3.1
|
| 3 |
torchvision==0.18.1
|
| 4 |
+
gradio==4.44.0 # Downgrade از 5.49.1 به نسخه stable (5.x ممکن است unstable باشد)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
numpy==1.26.4
|
| 6 |
pandas==2.2.2
|
|
|
|
| 7 |
|
| 8 |
+
# Viz
|
| 9 |
matplotlib==3.9.2
|
| 10 |
pillow==10.4.0
|
| 11 |
+
plotly==5.24.0
|
| 12 |
|
| 13 |
+
# RL/NLP
|
| 14 |
gymnasium==1.0.0
|
| 15 |
+
transformers==4.44.2 # Update از 4.40.0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
textblob==0.18.0
|
| 17 |
vaderSentiment==3.3.2
|
|
|
|
| 18 |
|
| 19 |
+
# Web
|
| 20 |
requests==2.32.3
|
| 21 |
beautifulsoup4==4.12.3
|
| 22 |
+
tweepy==4.14.0 # اگر برای Twitter استفاده میشود؛ اگر نه، حذف کنید
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
+
# Utils (حداقل)
|
| 25 |
+
scikit-learn==1.5.0
|
|
|