maxachis commited on
Commit
5ba6210
·
1 Parent(s): ec19c57

Optimize imports

Browse files
Files changed (1) hide show
  1. handler.py +1 -6
handler.py CHANGED
@@ -1,17 +1,12 @@
1
  from typing import Dict, Any
2
 
3
  import spacy
4
- from sklearn.datasets import make_classification
5
- from sklearn.linear_model import LogisticRegression
6
- from sklearn.model_selection import train_test_split
7
  from huggingface_hub import hf_hub_download
8
  from joblib import load
9
 
10
  SPACY_MODEL = spacy.load('en_core_web_trf', disable=['parser']) # Largest, slowest, most accurate model
11
 
12
- from environs import Env
13
-
14
-
15
 
16
 
17
  class EndpointHandler:
 
1
  from typing import Dict, Any
2
 
3
  import spacy
4
+ from environs import Env
 
 
5
  from huggingface_hub import hf_hub_download
6
  from joblib import load
7
 
8
  SPACY_MODEL = spacy.load('en_core_web_trf', disable=['parser']) # Largest, slowest, most accurate model
9
 
 
 
 
10
 
11
 
12
  class EndpointHandler: