update code
Browse files
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
app.py
CHANGED
@@ -5,9 +5,9 @@ import pandas as pd
|
|
5 |
from pydantic import BaseModel
|
6 |
|
7 |
corpus = pickle.load(open("./corpus/all_embeddings.pickle", "rb"))
|
8 |
-
label_encoder = pickle.load("./corpus/label_encoder.pickle")
|
9 |
model = SentenceTransformer("sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2")
|
10 |
-
df = pd.DataFrame(data={"label": pickle.load(open("./corpus/y_all.pickle"))})
|
11 |
|
12 |
app = FastAPI()
|
13 |
|
|
|
5 |
from pydantic import BaseModel
|
6 |
|
7 |
corpus = pickle.load(open("./corpus/all_embeddings.pickle", "rb"))
|
8 |
+
label_encoder = pickle.load("./corpus/label_encoder.pickle", "rb")
|
9 |
model = SentenceTransformer("sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2")
|
10 |
+
df = pd.DataFrame(data={"label": pickle.load(open("./corpus/y_all.pickle", "rb"))})
|
11 |
|
12 |
app = FastAPI()
|
13 |
|