Commit ·
f1180fd
1
Parent(s): d2422de
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ data = [
|
|
| 17 |
] for _,x in df.iterrows()
|
| 18 |
]
|
| 19 |
|
| 20 |
-
corpus_embeddings =
|
| 21 |
|
| 22 |
|
| 23 |
def predict(question, threshold, tags):
|
|
|
|
| 17 |
] for _,x in df.iterrows()
|
| 18 |
]
|
| 19 |
|
| 20 |
+
corpus_embeddings = model.encode(data)
|
| 21 |
|
| 22 |
|
| 23 |
def predict(question, threshold, tags):
|