Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
lkhphuc
/
test-space
like
0
Runtime error
App
Files
Files
Community
de0a610
test-space
/
app.py
lkhphuc
show jax device
de0a610
almost 3 years ago
raw
history
blame
No virus
130 Bytes
import
streamlit
as
st
import
jax
x = st.slider(
'Select a value'
)
st.write(x,
'squared is'
, x * x)
st.write(jax.device_count())