Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from sentence_transformers import SentenceTransformer
|
3 |
-
model = SentenceTransformer('
|
4 |
|
5 |
def compute_embedding(name):
|
6 |
return model.encode(name)
|
|
|
1 |
import gradio as gr
|
2 |
from sentence_transformers import SentenceTransformer
|
3 |
+
model = SentenceTransformer('keithhon/paraphrase-multilingual-MiniLM-L12-v2')
|
4 |
|
5 |
def compute_embedding(name):
|
6 |
return model.encode(name)
|