Skip to content

Commit 49f4f5d

Browse files
authored
update requirements
1 parent bb4652e commit 49f4f5d

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22

33
<table>
44
<tr>
5-
<td><img src="/assets/home.png"/></td>
6-
<td><img src="/assets/search.png"/></td>
5+
<td>
6+
<a href="http://127.0.0.1:5000">
7+
<img src="/assets/home.png"/>
8+
</a>
9+
</td>
10+
<td>
11+
<a href="http://127.0.0.1:5000/search">
12+
<img src="/assets/search.png"/>
13+
</a>
14+
</td>
715
</tr>
816
</table>
917

requirements.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Flask
1+
Flask==3.0.3
22
jax==0.4.31
33
jaxlib==0.4.31
4-
sentence-transformers==2.7.0
4+
sentence-transformers==3.0.1
55
sentencepiece==0.2.0
6-
pandas==2.0.3
7-
transformers==4.40.1
8-
Pillow==9.4.0
9-
requests==2.31.0
6+
pandas==2.2.2
7+
transformers==4.44.0
8+
Pillow==10.4.0
9+
requests==2.32.3

spanking/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pandas as pd
99

1010
class VectorDB:
11-
def __init__(self, model_name='dunzhang/stella_en_400M_v5'):
11+
def __init__(self, model_name='Alibaba-NLP/gte-base-en-v1.5'):
1212
self.model = SentenceTransformer(model_name, trust_remote_code=True)
1313
self.image_classifier = pipeline(task="zero-shot-image-classification", model="google/siglip-so400m-patch14-384")
1414
self.texts = []

0 commit comments

Comments
 (0)