Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -14,4 +14,4 @@ f.write(img_data.getvalue())
|
|
14 |
f.flush()
|
15 |
weight = extract_weight(f.name)
|
16 |
st.image(f.name, caption="📸 Snapshot")
|
17 |
-
st.success(f"✅ Detected Weight:
|
|
|
14 |
f.flush()
|
15 |
weight = extract_weight(f.name)
|
16 |
st.image(f.name, caption="📸 Snapshot")
|
17 |
+
st.success(f"✅ Detected Weight: " + str(weight) + " g")
|