Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- 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: **{
|
| 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:
|