gagandwaz commited on
Commit
9880c35
·
1 Parent(s): 6b50dd8
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
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())