Lokiiparihar commited on
Commit
956a8f9
·
verified ·
1 Parent(s): 794ea8b

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -67,7 +67,7 @@ if st.button("Predict Sales"):
67
 
68
  try:
69
  prediction = float(prediction)
70
- st.success(f"✅ Predicted Sales: **{prediction:.2f} units**")
71
  except (ValueError, TypeError):
72
  st.error(f"❌ Could not convert prediction to number: {prediction}")
73
  else:
 
67
 
68
  try:
69
  prediction = float(prediction)
70
+ st.success(f"✅ Predicted Sales: **{Predicted_Sales:.2f} units**")
71
  except (ValueError, TypeError):
72
  st.error(f"❌ Could not convert prediction to number: {prediction}")
73
  else: