Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +0 -1
src/streamlit_app.py
CHANGED
@@ -9,7 +9,6 @@ st.title("⚖️ Auto Weight Logger")
|
|
9 |
img_data = st.camera_input("📷 Capture the weight display")
|
10 |
|
11 |
if img_data:
|
12 |
-
# Save image to temporary file
|
13 |
with tempfile.NamedTemporaryFile(delete=False, suffix=".jpg") as f:
|
14 |
f.write(img_data.getvalue())
|
15 |
f.flush()
|
|
|
9 |
img_data = st.camera_input("📷 Capture the weight display")
|
10 |
|
11 |
if img_data:
|
|
|
12 |
with tempfile.NamedTemporaryFile(delete=False, suffix=".jpg") as f:
|
13 |
f.write(img_data.getvalue())
|
14 |
f.flush()
|