pn23 commited on
Commit
c507263
·
verified ·
1 Parent(s): 5cdb0d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -13,4 +13,12 @@ curr_exer = st.radio('Select an exercise', exercise_options)
13
  x = st.slider('Select a value')
14
  st.write(x, 'squared is', x * x)
15
  st.write(curr_exer)
16
- st.success("Success")
 
 
 
 
 
 
 
 
 
13
  x = st.slider('Select a value')
14
  st.write(x, 'squared is', x * x)
15
  st.write(curr_exer)
16
+ st.success("Success")
17
+
18
+ import streamlit as st
19
+
20
+ picture = st.camera_input("Take a picture")
21
+
22
+ if picture:
23
+ st.image(picture)
24
+