Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ from transformers import (
|
|
8 |
)
|
9 |
from utils import preprocess
|
10 |
|
|
|
11 |
device = 'cpu'
|
12 |
model_dir = "nealcly/detection-longformer"
|
13 |
|
|
|
8 |
)
|
9 |
from utils import preprocess
|
10 |
|
11 |
+
# init
|
12 |
device = 'cpu'
|
13 |
model_dir = "nealcly/detection-longformer"
|
14 |
|