Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ class ONNXModel:
|
|
88 |
sorted_output = {"predictions": sorted(output, key=lambda k: k["confidence"], reverse=True)}
|
89 |
return sorted_output
|
90 |
EXPORT_MODEL_VERSION=1
|
91 |
-
model = ONNXModel(dir_path="
|
92 |
model.load()
|
93 |
|
94 |
def predict(image):
|
|
|
88 |
sorted_output = {"predictions": sorted(output, key=lambda k: k["confidence"], reverse=True)}
|
89 |
return sorted_output
|
90 |
EXPORT_MODEL_VERSION=1
|
91 |
+
model = ONNXModel(dir_path="/model/model.onnx")
|
92 |
model.load()
|
93 |
|
94 |
def predict(image):
|