Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +4 -4
requirements.txt
CHANGED
|
@@ -4,14 +4,14 @@ python-multipart
|
|
| 4 |
requests
|
| 5 |
pillow
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
numpy==1.25.
|
| 9 |
|
| 10 |
-
# Torch & Transformers
|
| 11 |
torch==2.1.2
|
| 12 |
transformers==4.38.2
|
| 13 |
|
| 14 |
-
# Florence-2 support libs
|
| 15 |
einops
|
| 16 |
timm
|
| 17 |
sentencepiece
|
|
|
|
| 4 |
requests
|
| 5 |
pillow
|
| 6 |
|
| 7 |
+
# Use a numpy version that is widely available for Python 3.11
|
| 8 |
+
numpy==1.25.2
|
| 9 |
|
| 10 |
+
# Torch & Transformers pinned to versions compatible with Florence-2 + Py3.11
|
| 11 |
torch==2.1.2
|
| 12 |
transformers==4.38.2
|
| 13 |
|
| 14 |
+
# Florence-2 support libs (let pip resolve appropriate wheels)
|
| 15 |
einops
|
| 16 |
timm
|
| 17 |
sentencepiece
|