Speedofmastery commited on
Commit
6f6f85f
·
1 Parent(s): a5b27e1

Fix: Minimal working version with lightweight dependencies to resolve Space startup issues

Browse files
Files changed (1) hide show
  1. requirements.txt +24 -35
requirements.txt CHANGED
@@ -1,44 +1,33 @@
1
- # Core dependencies
 
 
2
  pydantic>=2.0,<3.0
3
- fastapi>=0.100.0
4
- uvicorn>=0.20.0
 
5
  gradio>=4.0,<5.0
6
 
7
- # AI and ML
8
- huggingface-hub>=0.20.0
9
- transformers>=4.30.0
10
- torch>=2.0.0
11
- datasets>=2.0.0
12
- numpy>=1.21.0
13
- pillow>=8.0.0
14
 
15
- # Authentication and security
16
- bcrypt>=4.0.0
17
- python-multipart>=0.0.5
18
- python-jose>=3.3.0
19
- passlib>=1.7.4
20
 
21
- # Async and HTTP
22
- aiohttp>=3.8.0
23
- aiofiles>=22.0.0
24
- httpx>=0.24.0
25
- websockets>=10.0
26
 
27
- # Data processing
28
- pandas>=1.5.0
29
- pyyaml>=6.0.0
30
- requests>=2.28.0
31
- beautifulsoup4>=4.11.0
32
 
33
- # Logging and utilities
 
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