tanlocc commited on
Commit
c362147
Β·
1 Parent(s): 213de71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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
  ]