Spaces:
Runtime error
Runtime error
summerstay
commited on
Commit
•
eb548ff
1
Parent(s):
0da8350
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import gradio as gr
|
3 |
from sentence_transformers import SentenceTransformer
|
4 |
|
5 |
-
model_Q = SentenceTransformer('
|
6 |
|
7 |
def getVectors(sentences):
|
8 |
vectors = []
|
|
|
2 |
import gradio as gr
|
3 |
from sentence_transformers import SentenceTransformer
|
4 |
|
5 |
+
model_Q = SentenceTransformer('sentence-transformers/all-mpnet-base-v2')
|
6 |
|
7 |
def getVectors(sentences):
|
8 |
vectors = []
|