Spaces:
Running on Zero
Running on Zero
Upload requirements.txt
#4
by bobo-dada - opened
- requirements.txt +4 -2
requirements.txt
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
# Chandra OCR 2 Space
|
| 2 |
-
# torch is preinstalled on ZeroGPU/GPU Spaces — do
|
|
|
|
|
|
|
| 3 |
|
| 4 |
chandra-ocr
|
| 5 |
transformers>=4.57.0
|
|
@@ -8,4 +10,4 @@ huggingface_hub>=0.26.0
|
|
| 8 |
pymupdf>=1.24.0
|
| 9 |
pillow>=10.0.0
|
| 10 |
gradio>=5.0.0
|
| 11 |
-
spaces
|
|
|
|
| 1 |
# Chandra OCR 2 Space
|
| 2 |
+
# torch is preinstalled on ZeroGPU/GPU Spaces — do NOT pin it here.
|
| 3 |
+
# No flash-attn: Blackwell (sm_120) has no prebuilt wheels and source builds
|
| 4 |
+
# blow the build timeout. SDPA is used instead.
|
| 5 |
|
| 6 |
chandra-ocr
|
| 7 |
transformers>=4.57.0
|
|
|
|
| 10 |
pymupdf>=1.24.0
|
| 11 |
pillow>=10.0.0
|
| 12 |
gradio>=5.0.0
|
| 13 |
+
spaces
|