ameya123ch commited on
Commit
a27924e
1 Parent(s): 8169128

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,11 +37,11 @@ def main():
37
 
38
  if predict == 0:
39
  col1, col2 = st.columns(2)
40
- col1.metric("Prediction", value="It's a Negative News. Think twice before you take any investment decision")
41
  col2.metric("Confidence Level", value=f"{np.round(np.max(preb_prob) * 100)}%")
42
  else:
43
  col1, col2 = st.columns(2)
44
- col1.metric("prediction", value="It's a Positive News.You can make your investment decision accordingly")
45
  col2.metric("Confidence Level", value=f"{np.round(np.max(pred_prob) * 100)}%")
46
 
47
  if st.button("About"):
 
37
 
38
  if predict == 0:
39
  col1, col2 = st.columns(2)
40
+ col1.metric("Prediction", value="It's a Negative News.")
41
  col2.metric("Confidence Level", value=f"{np.round(np.max(preb_prob) * 100)}%")
42
  else:
43
  col1, col2 = st.columns(2)
44
+ col1.metric("Prediction", value="It's a Positive News.")
45
  col2.metric("Confidence Level", value=f"{np.round(np.max(pred_prob) * 100)}%")
46
 
47
  if st.button("About"):