Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ def predict(input_image):
|
|
| 55 |
"""
|
| 56 |
try:
|
| 57 |
# 加载和初始化ONNX模型
|
| 58 |
-
session = ort.InferenceSession("
|
| 59 |
|
| 60 |
# 预处理图片
|
| 61 |
# Example usage: #change thie image
|
|
|
|
| 55 |
"""
|
| 56 |
try:
|
| 57 |
# 加载和初始化ONNX模型
|
| 58 |
+
session = ort.InferenceSession("model.onnx")
|
| 59 |
|
| 60 |
# 预处理图片
|
| 61 |
# Example usage: #change thie image
|