Spaces:
Runtime error
Runtime error
fikird
commited on
Commit
·
a3b1220
1
Parent(s):
0938b0e
Fix dependencies and system packages for sentence-transformers
Browse files- packages.txt +22 -7
- requirements.txt +28 -11
packages.txt
CHANGED
@@ -1,11 +1,26 @@
|
|
1 |
python3-dev
|
|
|
2 |
build-essential
|
3 |
-
git
|
4 |
-
libgomp1
|
5 |
gcc
|
6 |
g++
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
python3-dev
|
2 |
+
python3-pip
|
3 |
build-essential
|
|
|
|
|
4 |
gcc
|
5 |
g++
|
6 |
+
git
|
7 |
+
libopenblas-dev
|
8 |
+
libomp-dev
|
9 |
+
libgomp1
|
10 |
+
libglib2.0-0
|
11 |
+
libnss3
|
12 |
+
libnspr4
|
13 |
+
libatk1.0-0
|
14 |
+
libatk-bridge2.0-0
|
15 |
+
libcups2
|
16 |
+
libdrm2
|
17 |
+
libdbus-1-3
|
18 |
+
libxkbcommon0
|
19 |
+
libxcomposite1
|
20 |
+
libxdamage1
|
21 |
+
libxfixes3
|
22 |
+
libxrandr2
|
23 |
+
libgbm1
|
24 |
+
libpango-1.0-0
|
25 |
+
libcairo2
|
26 |
+
libasound2
|
requirements.txt
CHANGED
@@ -1,32 +1,41 @@
|
|
|
|
1 |
--find-links https://download.pytorch.org/whl/torch_stable.html
|
2 |
torch==2.0.1+cpu
|
3 |
torchvision==0.15.2+cpu
|
4 |
torchaudio==2.0.2+cpu
|
|
|
|
|
5 |
transformers==4.31.0
|
|
|
6 |
numpy>=1.23.5
|
7 |
scikit-learn>=1.2.2
|
8 |
scipy>=1.10.1
|
9 |
pandas>=2.0.2
|
10 |
-
sentence-transformers==2.2.2
|
11 |
tqdm>=4.65.0
|
|
|
|
|
12 |
gradio==3.40.1
|
|
|
|
|
13 |
duckduckgo-search==3.8.5
|
14 |
beautifulsoup4==4.12.2
|
15 |
-
langchain==0.0.335
|
16 |
-
pydantic==1.10.13
|
17 |
lxml==4.9.3
|
18 |
requests==2.31.0
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
selenium==4.15.2
|
22 |
webdriver-manager==4.0.1
|
|
|
|
|
23 |
aiohttp==3.8.5
|
24 |
-
python-whois==0.8.0
|
25 |
-
geopy==2.4.1
|
26 |
httpx==0.24.1
|
27 |
-
googlesearch-python==1.2.3
|
28 |
-
waybackpy==3.0.6
|
29 |
-
google==3.0.0
|
30 |
async-timeout==4.0.3
|
31 |
attrs==23.1.0
|
32 |
multidict==6.0.4
|
@@ -35,4 +44,12 @@ frozenlist==1.4.0
|
|
35 |
charset-normalizer==3.2.0
|
36 |
idna==3.4
|
37 |
certifi==2023.7.22
|
38 |
-
urllib3==2.0.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# PyTorch CPU dependencies
|
2 |
--find-links https://download.pytorch.org/whl/torch_stable.html
|
3 |
torch==2.0.1+cpu
|
4 |
torchvision==0.15.2+cpu
|
5 |
torchaudio==2.0.2+cpu
|
6 |
+
|
7 |
+
# Core ML dependencies
|
8 |
transformers==4.31.0
|
9 |
+
sentence-transformers==2.2.2
|
10 |
numpy>=1.23.5
|
11 |
scikit-learn>=1.2.2
|
12 |
scipy>=1.10.1
|
13 |
pandas>=2.0.2
|
|
|
14 |
tqdm>=4.65.0
|
15 |
+
|
16 |
+
# Web interface
|
17 |
gradio==3.40.1
|
18 |
+
|
19 |
+
# Search and scraping
|
20 |
duckduckgo-search==3.8.5
|
21 |
beautifulsoup4==4.12.2
|
|
|
|
|
22 |
lxml==4.9.3
|
23 |
requests==2.31.0
|
24 |
+
googlesearch-python==1.2.3
|
25 |
+
waybackpy==3.0.6
|
26 |
+
google==3.0.0
|
27 |
+
|
28 |
+
# LangChain and dependencies
|
29 |
+
langchain==0.0.335
|
30 |
+
pydantic==1.10.13
|
31 |
+
|
32 |
+
# Browser automation
|
33 |
selenium==4.15.2
|
34 |
webdriver-manager==4.0.1
|
35 |
+
|
36 |
+
# Networking and async
|
37 |
aiohttp==3.8.5
|
|
|
|
|
38 |
httpx==0.24.1
|
|
|
|
|
|
|
39 |
async-timeout==4.0.3
|
40 |
attrs==23.1.0
|
41 |
multidict==6.0.4
|
|
|
44 |
charset-normalizer==3.2.0
|
45 |
idna==3.4
|
46 |
certifi==2023.7.22
|
47 |
+
urllib3==2.0.4
|
48 |
+
|
49 |
+
# Image processing
|
50 |
+
Pillow==10.0.0
|
51 |
+
|
52 |
+
# Domain info
|
53 |
+
python-whois==0.8.0
|
54 |
+
geopy==2.4.1
|
55 |
+
protobuf==4.25.1
|