Spaces:
Paused
Paused
Commit
·
6f6f85f
1
Parent(s):
a5b27e1
Fix: Minimal working version with lightweight dependencies to resolve Space startup issues
Browse files- requirements.txt +24 -35
requirements.txt
CHANGED
|
@@ -1,44 +1,33 @@
|
|
| 1 |
-
# Core
|
|
|
|
|
|
|
| 2 |
pydantic>=2.0,<3.0
|
| 3 |
-
|
| 4 |
-
|
|
|
|
| 5 |
gradio>=4.0,<5.0
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
pillow>=8.0.0
|
| 14 |
|
| 15 |
-
#
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
python-jose>=3.3.0
|
| 19 |
-
passlib>=1.7.4
|
| 20 |
|
| 21 |
-
#
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
websockets>=10.0
|
| 26 |
|
| 27 |
-
#
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
requests>=2.28.0
|
| 31 |
-
beautifulsoup4>=4.11.0
|
| 32 |
|
| 33 |
-
#
|
|
|
|
| 34 |
loguru>=0.7.0
|
| 35 |
-
python-dotenv>=1.0.0
|
| 36 |
tenacity>=8.0.0
|
| 37 |
-
colorama>=0.4.0
|
| 38 |
-
|
| 39 |
-
# Cloudflare (optional)
|
| 40 |
-
cloudflare>=2.0.0
|
| 41 |
-
cryptography>=40.0.0
|
| 42 |
-
|
| 43 |
-
# Additional utilities
|
| 44 |
-
setuptools>=60.0.0
|
|
|
|
| 1 |
+
# Core framework - compatible versions
|
| 2 |
+
fastapi>=0.100.0,<0.116.0
|
| 3 |
+
uvicorn>=0.20.0,<0.35.0
|
| 4 |
pydantic>=2.0,<3.0
|
| 5 |
+
starlette>=0.35.0,<0.42.0
|
| 6 |
+
|
| 7 |
+
# Gradio and UI - stable version
|
| 8 |
gradio>=4.0,<5.0
|
| 9 |
|
| 10 |
+
# HTTP and networking - core only
|
| 11 |
+
httpx>=0.25.0,<0.29.0
|
| 12 |
+
requests>=2.28.0,<2.33.0
|
| 13 |
+
|
| 14 |
+
# Database - minimal setup
|
| 15 |
+
bcrypt>=4.0.0,<5.0.0
|
|
|
|
| 16 |
|
| 17 |
+
# AI essentials - lightweight
|
| 18 |
+
openai>=1.0.0,<2.0.0
|
| 19 |
+
huggingface-hub>=0.20.0,<1.0.0
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
# Basic utilities
|
| 22 |
+
python-dotenv>=1.0.0,<2.0.0
|
| 23 |
+
pyyaml>=6.0,<7.0
|
| 24 |
+
python-multipart>=0.0.6
|
|
|
|
| 25 |
|
| 26 |
+
# System utilities
|
| 27 |
+
pillow>=10.0.0
|
| 28 |
+
numpy>=1.20.0
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
# Additional basics
|
| 31 |
+
typing-extensions>=4.0.0
|
| 32 |
loguru>=0.7.0
|
|
|
|
| 33 |
tenacity>=8.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|