Spaces:
Runtime error
Runtime error
raymondlo84
commited on
Commit
•
e2b5c2b
1
Parent(s):
5113a97
Update app.py
Browse files
app.py
CHANGED
@@ -2,3 +2,10 @@ import streamlit as st
|
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
st.write(x, 'squared is', x * x)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
st.write(x, 'squared is', x * x)
|
5 |
+
|
6 |
+
from openvino.runtime import 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}")
|