fcernafukuzaki commited on
Commit
875b82f
·
verified ·
1 Parent(s): bd816f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -5,9 +5,9 @@ def hola():
5
 
6
  img_file_buffer = st.camera_input("Take a picture", label_visibility="hidden", on_change=hola)
7
 
8
- if img_file_buffer is not None:
9
- # To read image file buffer as bytes:
10
- bytes_data = img_file_buffer.getvalue()
11
- # Check the type of bytes_data:
12
- # Should output: <class 'bytes'>
13
- st.write(type(bytes_data))
 
5
 
6
  img_file_buffer = st.camera_input("Take a picture", label_visibility="hidden", on_change=hola)
7
 
8
+ #if img_file_buffer is not None:
9
+ # To read image file buffer as bytes:
10
+ bytes_data = img_file_buffer.getvalue()
11
+ # Check the type of bytes_data:
12
+ # Should output: <class 'bytes'>
13
+ st.write(type(bytes_data))