yaful commited on
Commit
f6001af
1 Parent(s): f507f90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from transformers import (
6
  AutoModelForSequenceClassification,
7
  AutoTokenizer,
8
  )
9
- from deployment import preprocess, detect
10
 
11
  device = 'cpu'
12
  model_dir = "nealcly/detection-longformer"
 
6
  AutoModelForSequenceClassification,
7
  AutoTokenizer,
8
  )
9
+ from .utils import preprocess
10
 
11
  device = 'cpu'
12
  model_dir = "nealcly/detection-longformer"