Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +8 -5
requirements.txt
CHANGED
|
@@ -7,9 +7,12 @@ scikit-learn>=1.3.0,<1.6.0
|
|
| 7 |
# Web Framework
|
| 8 |
gradio==4.44.0
|
| 9 |
|
| 10 |
-
# Deep Learning - CPU ONLY
|
| 11 |
-
# NOTE:
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# Deep Learning Utilities (For better model export/optimization)
|
| 15 |
optimum
|
|
@@ -33,5 +36,5 @@ pytesseract>=0.3.10
|
|
| 33 |
# Image Processing
|
| 34 |
Pillow>=10.0.0,<11.0.0
|
| 35 |
|
| 36 |
-
# Pix2Text -
|
| 37 |
-
pix2text==1.1.1.2
|
|
|
|
| 7 |
# Web Framework
|
| 8 |
gradio==4.44.0
|
| 9 |
|
| 10 |
+
# Deep Learning - CPU ONLY
|
| 11 |
+
# NOTE: To guarantee CPU-only installation and avoid large GPU packages,
|
| 12 |
+
# ensure your installation command (e.g., pip install) is targeted for CPU, or
|
| 13 |
+
# use the official PyTorch CPU download URL if you need a specific version.
|
| 14 |
+
# Listing 'torch' here should suffice if your environment defaults to CPU.
|
| 15 |
+
torch
|
| 16 |
|
| 17 |
# Deep Learning Utilities (For better model export/optimization)
|
| 18 |
optimum
|
|
|
|
| 36 |
# Image Processing
|
| 37 |
Pillow>=10.0.0,<11.0.0
|
| 38 |
|
| 39 |
+
# Pix2Text - REMOVED (Replaced by direct TrOCR/ORT model call)
|
| 40 |
+
# pix2text==1.1.1.2
|