Penzar commited on
Commit
e3fd9be
·
verified ·
1 Parent(s): e9331b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,4 +1,8 @@
1
  import streamlit as st
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
 
 
1
  import streamlit as st
2
 
3
+ import streamlit as st
4
+
5
+ col1, col2, col3 = st.columns(3)
6
+ col1.metric("Temperature", "70 °F", "1.2 °F")
7
+ col2.metric("Wind", "9 mph", "-8%")
8
+ col3.metric("Humidity", "86%", "4%")