Spaces:
Runtime error
Runtime error
fixed metadata_OV_inferencer
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def OV_compilemodel(category_choice, device):
|
|
29 |
|
30 |
inferencer = OpenVINOInferencer(
|
31 |
path=openvino_model_path, # Path to the OpenVINO IR model.
|
32 |
-
|
33 |
device=device, # We would like to run it on an Intel CPU.
|
34 |
config= {"INFERENCE_PRECISION_HINT": "f16" } if device != "CPU" else {}
|
35 |
)
|
|
|
29 |
|
30 |
inferencer = OpenVINOInferencer(
|
31 |
path=openvino_model_path, # Path to the OpenVINO IR model.
|
32 |
+
metadata=metadata_path, # Path to the metadata file.
|
33 |
device=device, # We would like to run it on an Intel CPU.
|
34 |
config= {"INFERENCE_PRECISION_HINT": "f16" } if device != "CPU" else {}
|
35 |
)
|