gagandwaz commited on
Commit
cfb4d69
·
1 Parent(s): cee1ec0
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,6 +1,4 @@
1
  import streamlit as st
2
  picture = st.camera_input("First, take a picture...")
3
 
4
- if picture:
5
- with open ('test.jpg','wb') as file:
6
- file.write(picture.getbuffer())
 
1
  import streamlit as st
2
  picture = st.camera_input("First, take a picture...")
3
 
4
+ st.write(picture)