Spaces:
Sleeping
Sleeping
Update inference.py
Browse files- inference.py +2 -3
inference.py
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
import os
|
2 |
import torch
|
3 |
import config
|
4 |
-
!python -m spacy download en_core_web_sm
|
5 |
-
|
6 |
import spacy
|
7 |
-
|
|
|
8 |
from utils import (
|
9 |
load_dataset,
|
10 |
get_model_instance,
|
|
|
1 |
import os
|
2 |
import torch
|
3 |
import config
|
|
|
|
|
4 |
import spacy
|
5 |
+
spacy.cli.download("en_core_web_sm")
|
6 |
+
|
7 |
from utils import (
|
8 |
load_dataset,
|
9 |
get_model_instance,
|