Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Nipun
/
KL-Divergence-1d
like
2
Runtime error
App
Files
Files
Community
a22efa8
KL-Divergence-1d
/
app.py
Nipun
Update app.py
6f71803
almost 3 years ago
raw
Copy download link
history
blame
Safe
213 Bytes
import
streamlit
as
st
x = st.slider(
'Select a value'
)
st.write(x,
'squared is'
, x * x)
import
numpy
as
np
import
matplotlib.pyplot
as
plt
fig, ax = plt.subplots()
ax.plot(np.random.randn(
10
,
5
))
st.pyplot(fig)