Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from optimum.pipelines import pipeline as onnx_pipeline
|
|
| 4 |
|
| 5 |
# Load Models
|
| 6 |
clean_pipe = pipeline("image-classification", model="WinKawaks/vit-small-patch16-224")
|
| 7 |
-
mal_pipe = onnx_pipeline("image-classification", model="
|
| 8 |
|
| 9 |
# Interface Functions
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
# Load Models
|
| 6 |
clean_pipe = pipeline("image-classification", model="WinKawaks/vit-small-patch16-224")
|
| 7 |
+
mal_pipe = onnx_pipeline("image-classification", model="onnx/model.onnx", accelerator="ort")
|
| 8 |
|
| 9 |
# Interface Functions
|
| 10 |
|