Spaces:
Runtime error
Runtime error
GanymedeNil
commited on
Commit
·
0042ed4
1
Parent(s):
2803eb1
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
from text2vec import Similarity
|
8 |
|
9 |
# 中文句向量模型(CoSENT)
|
10 |
-
sim_model = Similarity(model_name_or_path='
|
11 |
similarity_type='cosine', embedding_type='sbert')
|
12 |
|
13 |
|
|
|
7 |
from text2vec import Similarity
|
8 |
|
9 |
# 中文句向量模型(CoSENT)
|
10 |
+
sim_model = Similarity(model_name_or_path='GanymedeNil/text2vec-large-chinese',
|
11 |
similarity_type='cosine', embedding_type='sbert')
|
12 |
|
13 |
|