fcernafukuzaki commited on
Commit
bd816f4
·
verified ·
1 Parent(s): 3bc7951

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import streamlit as st
2
 
3
- img_file_buffer = st.camera_input("Take a picture")
 
 
 
4
 
5
  if img_file_buffer is not None:
6
  # To read image file buffer as bytes:
 
1
  import streamlit as st
2
 
3
+ def hola():
4
+ st.write("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: