Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ _MODEL_TO_SIZE = dict(_MODELS)
|
|
| 18 |
|
| 19 |
@lru_cache()
|
| 20 |
def _onnx_model(name):
|
| 21 |
-
return open_onnx_model(f"
|
| 22 |
|
| 23 |
|
| 24 |
def _image_preprocess(image, size: int = 224) -> np.ndarray:
|
|
|
|
| 18 |
|
| 19 |
@lru_cache()
|
| 20 |
def _onnx_model(name):
|
| 21 |
+
return open_onnx_model(f"main/content_moderation_opset15.onnx")
|
| 22 |
|
| 23 |
|
| 24 |
def _image_preprocess(image, size: int = 224) -> np.ndarray:
|