raymondlo84's picture
Update app.py
efacc5b
raw
history blame
365 Bytes
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)