Sanjayraju30 commited on
Commit
87ce845
·
verified ·
1 Parent(s): 8ac538e

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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: {weight} g")
 
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")