rakesh1715 commited on
Commit
dfb7c64
·
verified ·
1 Parent(s): 5c38119

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ if st.button("Predict", type='primary'):
45
  result = response.json()
46
  sales_prediction = result["Sales"] # Extract only the value
47
  st.write(
48
- f"Based on the information provided, the product with ID {Product_ID} is likely to have sales of {float(sales_prediction):, .2f}")
49
  else:
50
  st.error("Error in API request")
51
 
 
45
  result = response.json()
46
  sales_prediction = result["Sales"] # Extract only the value
47
  st.write(
48
+ f"Based on the information provided, the product with ID {Product_ID} is likely to have sales of {float(sales_prediction):,.2f}")
49
  else:
50
  st.error("Error in API request")
51