modified code and add files
Browse files- app.py +1 -1
- corpus/y_all_disease.pickle +2 -2
app.py
CHANGED
@@ -43,7 +43,7 @@ async def predict(symptoms: Symptoms):
|
|
43 |
scores, indicies = torch.topk(similarity_vectors, k=len(corpus))
|
44 |
# id_ = df.iloc[indicies].reset_index(drop=True)
|
45 |
ls = df.iloc[indicies].copy()
|
46 |
-
print(ls.iloc[0])
|
47 |
# id_ = id_.drop_duplicates("label")
|
48 |
ls["scores"] = scores
|
49 |
# scores = scores[id_.index]
|
|
|
43 |
scores, indicies = torch.topk(similarity_vectors, k=len(corpus))
|
44 |
# id_ = df.iloc[indicies].reset_index(drop=True)
|
45 |
ls = df.iloc[indicies].copy()
|
46 |
+
# print(ls.iloc[0])
|
47 |
# id_ = id_.drop_duplicates("label")
|
48 |
ls["scores"] = scores
|
49 |
# scores = scores[id_.index]
|
corpus/y_all_disease.pickle
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0153ee13f0eafbb5555b3b0fd829bb06056f64562163a3516632ef06774d1f7a
|
3 |
+
size 46844
|