Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
|
|
|
|
|
|
|
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:
|