Spaces:
Runtime error
Runtime error
raymondlo84
commited on
Commit
•
aa79edd
1
Parent(s):
2e66bad
Update app.py
Browse files
app.py
CHANGED
@@ -6,13 +6,6 @@ from openvino.runtime import Core
|
|
6 |
ie = Core()
|
7 |
devices = ie.available_devices
|
8 |
|
9 |
-
for device in devices:
|
10 |
-
device_name = ie.get_property(device, "FULL_DEVICE_NAME")
|
11 |
-
print(f"{device}: {device_name}")
|
12 |
-
st.write("Device", device)
|
13 |
-
st.write("Device Name", device_name)
|
14 |
-
|
15 |
-
|
16 |
model = ie.read_model(model="v3-small_224_1.0_float.xml")
|
17 |
compiled_model = ie.compile_model(model=model, device_name="CPU")
|
18 |
|
|
|
6 |
ie = Core()
|
7 |
devices = ie.available_devices
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
model = ie.read_model(model="v3-small_224_1.0_float.xml")
|
10 |
compiled_model = ie.compile_model(model=model, device_name="CPU")
|
11 |
|