Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
rishiraj authored Aug 15, 2024
1 parent bb4652e commit 49f4f5d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@

<table>
<tr>
<td><img src="/assets/home.png"/></td>
<td><img src="/assets/search.png"/></td>
<td>
<a href="http://127.0.0.1:5000">
<img src="/assets/home.png"/>
</a>
</td>
<td>
<a href="http://127.0.0.1:5000/search">
<img src="/assets/search.png"/>
</a>
</td>
</tr>
</table>

Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Flask
Flask==3.0.3
jax==0.4.31
jaxlib==0.4.31
sentence-transformers==2.7.0
sentence-transformers==3.0.1
sentencepiece==0.2.0
pandas==2.0.3
transformers==4.40.1
Pillow==9.4.0
requests==2.31.0
pandas==2.2.2
transformers==4.44.0
Pillow==10.4.0
requests==2.32.3
2 changes: 1 addition & 1 deletion spanking/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import pandas as pd

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

0 comments on commit 49f4f5d

Please sign in to comment.