Really-amin commited on
Commit
8a9098c
·
verified ·
1 Parent(s): c207da1

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +43 -43
requirements.txt CHANGED
@@ -1,88 +1,88 @@
1
  # Core FastAPI dependencies
2
- fastapi==0.104.1
3
- uvicorn[standard]==0.24.0
4
- pydantic==2.5.0
5
- pydantic[email]==2.5.0
6
- aiohttp==3.9.1
7
 
8
  # Authentication & Security
9
  python-jose[cryptography]==3.3.0
10
  passlib[bcrypt]==1.7.4
11
- python-multipart==0.0.6
12
- bcrypt==4.0.1
13
 
14
  # Database
15
- sqlalchemy==2.0.23
16
 
17
  # Gradio for HF Spaces interface
18
- gradio==4.8.0
19
 
20
  # HTTP requests
21
- requests==2.31.0
22
- httpx==0.25.2
23
 
24
  # File processing
25
  python-docx==1.1.0
26
  PyPDF2==3.0.1
27
- pdf2image==1.16.3
28
- Pillow==10.1.0
29
-
30
- # AI/ML dependencies - FIXED VERSIONS FOR COMPATIBILITY
31
- numpy==1.24.4
32
- transformers==4.36.0
33
- torch==2.1.1
34
- torchaudio==2.1.1
35
- torchvision==0.16.1
36
- tokenizers==0.15.0
37
- sentence-transformers==2.2.2
38
 
39
  # OCR specific dependencies
40
- PyMuPDF==1.23.5
41
- opencv-python-headless==4.8.1.78
42
 
43
  # Text processing
44
- spacy==3.7.2
45
  nltk==3.8.1
46
 
47
  # Web scraping
48
- beautifulsoup4==4.12.2
49
- lxml==4.9.3
50
- selenium==4.15.2
51
 
52
  # Utilities
53
- python-dotenv==1.0.0
54
  pathlib2==2.3.7
55
- typing-extensions==4.8.0
56
 
57
  # Logging and monitoring
58
- structlog==23.2.0
59
 
60
  # Date and time
61
- python-dateutil==2.8.2
62
 
63
  # Environment and configuration
64
- pydantic-settings==2.1.0
65
 
66
  # Optional: Redis for caching
67
- redis==5.0.1
68
 
69
  # Development dependencies
70
- pytest==7.4.3
71
- pytest-asyncio==0.21.1
72
 
73
  # Hugging Face specific
74
- huggingface-hub==0.19.4
75
 
76
  # Additional utilities
77
- aiofiles==23.2.1
78
- jinja2==3.1.2
79
 
80
  # Image processing
81
- scikit-image==0.21.0
82
 
83
  # Additional missing dependencies
84
- websockets==11.0.3
85
  python-magic==0.4.27
86
  chardet==5.2.0
87
- protobuf==4.25.3
88
- psutil==5.9.8
 
1
  # Core FastAPI dependencies
2
+ fastapi==0.111.0
3
+ uvicorn[standard]==0.29.0
4
+ pydantic==2.7.1
5
+ pydantic[email]==2.7.1
6
+ aiohttp==3.9.5
7
 
8
  # Authentication & Security
9
  python-jose[cryptography]==3.3.0
10
  passlib[bcrypt]==1.7.4
11
+ python-multipart==0.0.9
12
+ bcrypt==4.1.3
13
 
14
  # Database
15
+ sqlalchemy==2.0.30
16
 
17
  # Gradio for HF Spaces interface
18
+ gradio==4.31.5
19
 
20
  # HTTP requests
21
+ requests==2.32.3
22
+ httpx==0.27.0
23
 
24
  # File processing
25
  python-docx==1.1.0
26
  PyPDF2==3.0.1
27
+ pdf2image==1.17.0
28
+ Pillow==10.3.0
29
+
30
+ # AI/ML dependencies - UPDATED VERSIONS FOR COMPATIBILITY
31
+ numpy==1.26.4
32
+ transformers==4.41.2
33
+ torch==2.3.0
34
+ torchaudio==2.3.0
35
+ torchvision==0.18.0
36
+ tokenizers==0.19.1
37
+ sentence-transformers==2.7.0
38
 
39
  # OCR specific dependencies
40
+ PyMuPDF==1.24.4
41
+ opencv-python-headless==4.9.0.80
42
 
43
  # Text processing
44
+ spacy==3.7.4
45
  nltk==3.8.1
46
 
47
  # Web scraping
48
+ beautifulsoup4==4.12.3
49
+ lxml==5.2.2
50
+ selenium==4.21.0
51
 
52
  # Utilities
53
+ python-dotenv==1.0.1
54
  pathlib2==2.3.7
55
+ typing-extensions==4.12.0
56
 
57
  # Logging and monitoring
58
+ structlog==24.2.0
59
 
60
  # Date and time
61
+ python-dateutil==2.9.0
62
 
63
  # Environment and configuration
64
+ pydantic-settings==2.3.0
65
 
66
  # Optional: Redis for caching
67
+ redis==5.0.4
68
 
69
  # Development dependencies
70
+ pytest==8.2.1
71
+ pytest-asyncio==0.23.6
72
 
73
  # Hugging Face specific
74
+ huggingface-hub==0.23.1
75
 
76
  # Additional utilities
77
+ aiofiles==23.2.2
78
+ jinja2==3.1.4
79
 
80
  # Image processing
81
+ scikit-image==0.24.0
82
 
83
  # Additional missing dependencies
84
+ websockets==12.0
85
  python-magic==0.4.27
86
  chardet==5.2.0
87
+ protobuf==5.27.1
88
+ psutil==5.9.8