mudaza commited on
Commit
105b9cf
·
1 Parent(s): 86e9506

update code

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +2 -2
.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