Raghavendra0827 commited on
Commit
e3478ee
·
verified ·
1 Parent(s): 75e7975

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -285,9 +285,9 @@ def main():
285
  if st.button("Predict"):
286
  predicted_label = pred(selected_text)[0]
287
  try:
288
- st.markdown('<h1 style="color: #66ccff;">f"{predicted_label}"</h1>', unsafe_allow_html=True)
289
  except:
290
- st.write("Predicted Sentiment:", Labels[predicted_label])
291
 
292
 
293
  if __name__ == "__main__":
 
285
  if st.button("Predict"):
286
  predicted_label = pred(selected_text)[0]
287
  try:
288
+ st.write('<p style="color: #000000;">'predicted_label'</p>', unsafe_allow_html=True)
289
  except:
290
+ st.write('<p style="color: #000000;">'predicted_label'</p>', unsafe_allow_html=True)
291
 
292
 
293
  if __name__ == "__main__":