AnkushWaghmare commited on
Commit
ebadee9
·
verified ·
1 Parent(s): 55bfb1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -44,7 +44,8 @@ if st.button("Predict Sales", type='primary'):
44
  if response.status_code == 200:
45
  result = response.json()
46
  predictionResult = result["Prediction"]
47
- st.write(f"ased on the information provided, the prediction is likely to {predictionResult}.")
 
48
  else:
49
  st.error(f"API Error {response.status_code}: {response.text}")
50
  except Exception as e:
 
44
  if response.status_code == 200:
45
  result = response.json()
46
  predictionResult = result["Prediction"]
47
+ #st.write(f"ased on the information provided, the prediction is likely to {predictionResult}.")
48
+ st.success(f"Based on the information provided, {predictionResult}.")
49
  else:
50
  st.error(f"API Error {response.status_code}: {response.text}")
51
  except Exception as e: