Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ if "photo" not in st.session_state:
|
|
| 88 |
c2, c3 = st.columns([2,1])
|
| 89 |
def change_photo_state():
|
| 90 |
st.session_state["photo"]="done"
|
| 91 |
-
|
| 92 |
def main():
|
| 93 |
message = st.text_input("Type your text here!")
|
| 94 |
camera_photo = c2.camera_input("Capture a photo to summarize: ", on_change=change_photo_state)
|
|
|
|
| 88 |
c2, c3 = st.columns([2,1])
|
| 89 |
def change_photo_state():
|
| 90 |
st.session_state["photo"]="done"
|
| 91 |
+
#@st.cache
|
| 92 |
def main():
|
| 93 |
message = st.text_input("Type your text here!")
|
| 94 |
camera_photo = c2.camera_input("Capture a photo to summarize: ", on_change=change_photo_state)
|