Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +36 -15
requirements.txt
CHANGED
@@ -1,15 +1,36 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
# Core Framework
|
6 |
+
streamlit==1.44.1 # Pin Streamlit version (from logs)
|
7 |
+
|
8 |
+
# UI Components
|
9 |
+
streamlit-drawable-canvas==0.9.3 # Pin known version (update if needed)
|
10 |
+
|
11 |
+
# Image Processing
|
12 |
+
Pillow==11.1.0 # Pin PIL version (from logs)
|
13 |
+
|
14 |
+
# DICOM Processing
|
15 |
+
pydicom==3.0.1 # Pin version (from logs)
|
16 |
+
pylibjpeg # For JPEG compressed DICOM (usually okay with latest)
|
17 |
+
pylibjpeg-libjpeg # Backend for pylibjpeg (usually okay with latest)
|
18 |
+
python-gdcm # Alternative DICOM handler (usually okay with latest)
|
19 |
+
|
20 |
+
# AI / Machine Learning Core (Hugging Face ecosystem)
|
21 |
+
transformers>=4.30.0 # Keep minimum version, allow updates
|
22 |
+
torch>=2.0.0 # Keep minimum version
|
23 |
+
sentencepiece # Needed by some tokenizers (usually okay with latest)
|
24 |
+
accelerate # For efficient model loading/inference (usually okay with latest)
|
25 |
+
|
26 |
+
# Translation Service (Pinning due to previous import issues)
|
27 |
+
deep-translator==1.11.4 # CRITICAL: Pinning specific version confirmed in build
|
28 |
+
|
29 |
+
# Core Dependencies (Often pulled by others, listed for clarity/pinning)
|
30 |
+
numpy>=1.23 # Fundamental numeric library (ensure compatible version)
|
31 |
+
requests>=2.27 # For HTTP requests (e.g., HF API, translation)
|
32 |
+
protobuf<4 # Explicit constraint from base build steps, good to maintain
|
33 |
+
pyyaml>=6.0 # Used by HF Hub / Transformers config loading
|
34 |
+
|
35 |
+
# Report Generation
|
36 |
+
fpdf # For generating PDF reports (usually okay with latest)
|