KrSharangrav commited on
Commit
e0db6c4
·
1 Parent(s): 8c28a84
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,8 +39,8 @@ if st.button("Get Response"):
39
  st.write("### Response:")
40
  st.markdown(ai_response)
41
  st.write("### Sentiment Analysis:")
42
- st.write(f"**Sentiment Detected:** {sentiment_label} ({sentiment_confidence*100:.2f}% confidence)")
43
  st.write("### Category Extraction:")
44
- st.write(f"**Category Detected:** {topic_label} ({topic_confidence*100:.2f}% confidence)")
45
  else:
46
  st.warning("⚠️ Please enter a question or text for analysis.")
 
39
  st.write("### Response:")
40
  st.markdown(ai_response)
41
  st.write("### Sentiment Analysis:")
42
+ st.write(f"**Sentiment Detected:** {sentiment_label} ({sentiment_confidence*100:.f}% confidence)")
43
  st.write("### Category Extraction:")
44
+ st.write(f"**Category Detected:** {topic_label} ({topic_confidence*100:.f}% confidence)")
45
  else:
46
  st.warning("⚠️ Please enter a question or text for analysis.")