Spaces:
Build error
Build error
First model version
Browse files
app.py
CHANGED
|
@@ -15,6 +15,7 @@ from maskrcnn_benchmark.config import cfg
|
|
| 15 |
|
| 16 |
from demo import get_model, preprocess, postprocess, load
|
| 17 |
from utils import Config, Logger, CharsetMapper
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
def infer(filepath):
|
|
|
|
| 15 |
|
| 16 |
from demo import get_model, preprocess, postprocess, load
|
| 17 |
from utils import Config, Logger, CharsetMapper
|
| 18 |
+
import torch
|
| 19 |
|
| 20 |
|
| 21 |
def infer(filepath):
|