Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from ultralytics.utils.plotting import colors
|
|
| 7 |
core = ov.Core()
|
| 8 |
|
| 9 |
model = core.read_model(model = "models/best.xml")
|
| 10 |
-
compiled_model = core.compile_model(model = model, device_name =
|
| 11 |
|
| 12 |
input_layer = compiled_model.input(0)
|
| 13 |
output_layer = compiled_model.output(0)
|
|
|
|
| 7 |
core = ov.Core()
|
| 8 |
|
| 9 |
model = core.read_model(model = "models/best.xml")
|
| 10 |
+
compiled_model = core.compile_model(model = model, device_name = "AUTO")
|
| 11 |
|
| 12 |
input_layer = compiled_model.input(0)
|
| 13 |
output_layer = compiled_model.output(0)
|