Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import torch, json
|
|
5 |
|
6 |
token = AutoTokenizer.from_pretrained('pablocosta/bertabaporu-large-uncased')
|
7 |
|
8 |
-
with open("
|
9 |
types = json.load(fp)
|
10 |
|
11 |
types = list(types)
|
|
|
5 |
|
6 |
token = AutoTokenizer.from_pretrained('pablocosta/bertabaporu-large-uncased')
|
7 |
|
8 |
+
with open("data.json", "r") as fp:
|
9 |
types = json.load(fp)
|
10 |
|
11 |
types = list(types)
|