EGYADMIN commited on
Commit
1c3529d
·
verified ·
1 Parent(s): cf11a1b

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +20 -24
requirements.txt CHANGED
@@ -1,15 +1,15 @@
1
  # --- الأساسيات ---
2
- streamlit==1.32.0 # أحدث من 1.25.0 وتعمل بدون مشاكل
3
- pandas==2.2.0 # أحدث من 2.0.3 وتدعم numpy الحديثة
4
- numpy==1.26.3 # تعمل مع pandas وscikit-learn
5
- matplotlib==3.8.2
6
- seaborn==0.13.1
7
- plotly==5.18.0 # أحدث من 5.15.0
8
 
9
  # --- معالجة البيانات ---
10
  openpyxl==3.1.2
11
  xlrd==2.0.1
12
- xlsxwriter==3.1.9
13
  pyarrow==14.0.1
14
 
15
  # --- تحليل المستندات ---
@@ -20,24 +20,24 @@ pytesseract==0.3.10
20
  pymupdf==1.23.7
21
  pdfplumber==0.10.3
22
  opencv-python-headless==4.8.1.78
23
- # poppler-utils ← من apt أو docker
24
 
25
  # --- اللغة العربية ---
26
  arabic-reshaper==3.0.0
27
  python-bidi==0.4.2
28
  langdetect==1.0.9
29
  farasapy==0.0.14
30
- # cameltools==1.1.0 احذفها لتجنب مشاكل torch وprotobuf
31
 
32
  # --- الذكاء الاصطناعي ---
33
- scikit-learn==1.4.0 # تعمل مع numpy 1.26
34
- transformers==4.39.3 # مناسبة لـ HF وtorch
35
- torch==2.1.2 # تأكد من وجود CUDA أو CPU
36
  nltk==3.8.1
37
  gensim==4.3.2
38
- openai==1.69.0 # أحدث بكثير من 0.27.8
39
- anthropic==0.5.0 # أحدث من 0.3.4
40
- pydantic==2.3.0 # متوافق مع openai>=1.0
41
  joblib==1.3.2
42
 
43
  # --- قواعد البيانات ---
@@ -62,12 +62,8 @@ python-dotenv==1.0.0
62
  jsonschema==4.19.0
63
  pytest==7.4.0
64
  pytest-cov==4.1.0
65
- # PDF generation
66
- reportlab==4.0.8 # <-- تم إضافتها لحل مشكلة تصدير PDF
67
- folium==0.16.0 # حل مشكلة الخرائط التفاعلية
68
- streamlit-folium==0.18.0 # دعم خرائط Folium داخل Streamlit
69
- python-Levenshtein==0.25.1 # مقارنة المستندات
70
- rouge-score==0.1.2 # حساب تشابه النصوص (ROUGE)
71
-
72
-
73
-
 
1
  # --- الأساسيات ---
2
+ streamlit==1.25.0 # الحد الأعلى المتاح حاليًا في HF
3
+ pandas==2.0.3
4
+ numpy==1.25.2
5
+ matplotlib==3.7.2
6
+ seaborn==0.13.1 # تعمل مع matplotlib 3.7.2
7
+ plotly==5.15.0
8
 
9
  # --- معالجة البيانات ---
10
  openpyxl==3.1.2
11
  xlrd==2.0.1
12
+ xlsxwriter==3.1.9 # لا يوجد تعارض معروف
13
  pyarrow==14.0.1
14
 
15
  # --- تحليل المستندات ---
 
20
  pymupdf==1.23.7
21
  pdfplumber==0.10.3
22
  opencv-python-headless==4.8.1.78
23
+ # poppler-utils ← يجب تثبيته من النظام (apt)
24
 
25
  # --- اللغة العربية ---
26
  arabic-reshaper==3.0.0
27
  python-bidi==0.4.2
28
  langdetect==1.0.9
29
  farasapy==0.0.14
30
+ # cameltools محذوف لتجنب مشاكل البروتوبف
31
 
32
  # --- الذكاء الاصطناعي ---
33
+ scikit-learn==1.3.0
34
+ transformers==4.39.3
35
+ torch==2.1.2 # تأكد من وجود CUDA أو CPU
36
  nltk==3.8.1
37
  gensim==4.3.2
38
+ openai==1.12.0
39
+ anthropic==0.3.4
40
+ pydantic==1.10.13 # أقل من 2.0 لتجنب مشاكل openai/anthropic
41
  joblib==1.3.2
42
 
43
  # --- قواعد البيانات ---
 
62
  jsonschema==4.19.0
63
  pytest==7.4.0
64
  pytest-cov==4.1.0
65
+ reportlab==4.0.8
66
+ folium==0.16.0
67
+ streamlit-folium==0.18.0
68
+ python-Levenshtein==0.25.1
69
+ rouge-score==0.1.2