Wajahat698 commited on
Commit
fa30961
·
verified ·
1 Parent(s): 5683ff4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -611,10 +611,10 @@ if prompt :
611
  #cleaned_text = re.sub(r'</span>', '', cleaned_text)
612
  #cleaned_text = re.sub(r'<span[^>]*>', '', cleaned_text)
613
  # Display the response
614
- final_text = add_trust_tip_and_suggestion(cleaned_text)
615
 
616
 
617
- st.write(final_text, unsafe_allow_html=True)
618
  st.markdown("---") # Add a separator
619
  st.markdown(f"**Trust Tip**: {trust_tip}")
620
  st.markdown(f"**Suggestion**: {suggestion}")
 
611
  #cleaned_text = re.sub(r'</span>', '', cleaned_text)
612
  #cleaned_text = re.sub(r'<span[^>]*>', '', cleaned_text)
613
  # Display the response
614
+ trust_tip, suggestion = get_trust_tip_and_suggestion()
615
 
616
 
617
+ st.write(cleaned_text, unsafe_allow_html=True)
618
  st.markdown("---") # Add a separator
619
  st.markdown(f"**Trust Tip**: {trust_tip}")
620
  st.markdown(f"**Suggestion**: {suggestion}")