Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,12 @@ from huggingface_hub import hf_hub_download
|
|
8 |
from imgutils.data import load_image
|
9 |
from imgutils.utils import open_onnx_model
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
_MODELS = [
|
12 |
('content_moderation.onnx', 224),
|
13 |
]
|
|
|
8 |
from imgutils.data import load_image
|
9 |
from imgutils.utils import open_onnx_model
|
10 |
|
11 |
+
import random
|
12 |
+
from typing import List
|
13 |
+
from .base import ONNXBaseTask
|
14 |
+
from .utils import prepare_input_wraper
|
15 |
+
|
16 |
+
|
17 |
_MODELS = [
|
18 |
('content_moderation.onnx', 224),
|
19 |
]
|