Spaces:
Runtime error
Runtime error
import streamlit as st | |
x = st.slider('Select a value') | |
st.write(x, 'squared is', x * x) | |
from openvino.runtime import Core | |
ie = Core() | |
devices = ie.available_devices | |
for device in devices: | |
device_name = ie.get_property(device, "FULL_DEVICE_NAME") | |
print(f"{device}: {device_name}") | |
st.write("Device", device) | |
st.write("Device Name", device_name) | |