Spaces:
Runtime error
Runtime error
Commit ·
c30cfec
1
Parent(s): 171e775
Use minimal requirements to fix Flask installation issue
Browse files- spaces_requirements.txt +5 -11
spaces_requirements.txt
CHANGED
|
@@ -1,18 +1,12 @@
|
|
| 1 |
-
# Hugging Face Spaces
|
| 2 |
-
#
|
| 3 |
|
| 4 |
transformers==4.40.0
|
| 5 |
torch==2.2.0
|
| 6 |
flask==3.1.2
|
| 7 |
python-dotenv==1.0.1
|
| 8 |
-
|
| 9 |
-
accelerate==1.12.0
|
| 10 |
-
sentence-transformers==2.2.2
|
| 11 |
-
scikit-learn==1.5.0
|
| 12 |
-
blinker==1.9.0
|
| 13 |
-
itsdangerous==2.2.0
|
| 14 |
werkzeug==3.1.5
|
| 15 |
-
# Ensure proper Flask dependencies
|
| 16 |
-
click==8.1.7
|
| 17 |
jinja2==3.1.4
|
| 18 |
-
|
|
|
|
|
|
| 1 |
+
# Minimal requirements for Hugging Face Spaces
|
| 2 |
+
# Simplified to ensure reliable installation
|
| 3 |
|
| 4 |
transformers==4.40.0
|
| 5 |
torch==2.2.0
|
| 6 |
flask==3.1.2
|
| 7 |
python-dotenv==1.0.1
|
| 8 |
+
# Core Flask dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
werkzeug==3.1.5
|
|
|
|
|
|
|
| 10 |
jinja2==3.1.4
|
| 11 |
+
click==8.1.7
|
| 12 |
+
itsdangerous==2.2.0
|