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