joaocansi
commited on
Commit
·
4105ca8
1
Parent(s):
ab2a4bd
fix: return number instead of text
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ tokenizer = AutoTokenizer.from_pretrained("neuralmind/bert-base-portuguese-cased
|
|
10 |
model = AutoModel.from_pretrained("neuralmind/bert-base-portuguese-cased")
|
11 |
model.eval()
|
12 |
|
13 |
-
data = np.load("
|
14 |
iso_forest = IsolationForest(contamination=0.1, random_state=42)
|
15 |
iso_forest.fit(data)
|
16 |
|
|
|
10 |
model = AutoModel.from_pretrained("neuralmind/bert-base-portuguese-cased")
|
11 |
model.eval()
|
12 |
|
13 |
+
data = np.load("data.npy")
|
14 |
iso_forest = IsolationForest(contamination=0.1, random_state=42)
|
15 |
iso_forest.fit(data)
|
16 |
|