Spaces:
Running
Running
Commit
·
f32ec63
1
Parent(s):
3c021dd
Update path
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ checkpoint_path = hf_hub_download(
|
|
| 21 |
)
|
| 22 |
|
| 23 |
# Load model
|
| 24 |
-
with open("Nested/utils/
|
| 25 |
id2label = pickle.load(f)
|
| 26 |
|
| 27 |
model = torch.load(checkpoint_path, map_location="cpu")
|
|
|
|
| 21 |
)
|
| 22 |
|
| 23 |
# Load model
|
| 24 |
+
with open("Nested/utils/tag_vocab.pkl", "rb") as f:
|
| 25 |
id2label = pickle.load(f)
|
| 26 |
|
| 27 |
model = torch.load(checkpoint_path, map_location="cpu")
|