Spaces:
Build error
Build error
Update app.py
Browse files
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 |
-
|
| 615 |
|
| 616 |
|
| 617 |
-
st.write(
|
| 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}")
|