Spaces:
Sleeping
Sleeping
Commit
·
643ca97
1
Parent(s):
de79df8
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,7 +105,7 @@ def word_analogy_layout():
|
|
| 105 |
)
|
| 106 |
|
| 107 |
if __name__ == '__main__':
|
| 108 |
-
model = KeyedVectors.load_word2vec_format('
|
| 109 |
title = 'Calculate word similarity based on Tencent AI Lab Embedding'
|
| 110 |
|
| 111 |
with gr.Blocks() as demo:
|
|
|
|
| 105 |
)
|
| 106 |
|
| 107 |
if __name__ == '__main__':
|
| 108 |
+
model = KeyedVectors.load_word2vec_format('tencent-ailab-embedding-zh-d100-v0.2.0-s.txt', binary=False)
|
| 109 |
title = 'Calculate word similarity based on Tencent AI Lab Embedding'
|
| 110 |
|
| 111 |
with gr.Blocks() as demo:
|