Wajahat698 commited on
Commit
0d31d3e
·
verified ·
1 Parent(s): 34b7fad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -934,8 +934,7 @@ def side():
934
  if st.button("Show TrustBuilders", key="show_trustbuilders"):
935
  # Fetch trustbuilders
936
  trustbuilders = fetch_trustbuilders(st.session_state.get("wix_user_id"))
937
- import html
938
- trustbuilders = trustbuilders.replace("$", "\$")
939
  # Initialize variable for a match
940
  matching_trustbuilders = []
941
 
@@ -959,7 +958,7 @@ def side():
959
  if matching_trustbuilders:
960
  st.write("### Result:")
961
  # Join the matching trustbuilders into a bullet list
962
- st.markdown("\n".join([f"- {tb}" for tb in matching_trustbuilders]))
963
  else:
964
  st.write("No TrustBuilders found matching the criteria.")
965
 
 
934
  if st.button("Show TrustBuilders", key="show_trustbuilders"):
935
  # Fetch trustbuilders
936
  trustbuilders = fetch_trustbuilders(st.session_state.get("wix_user_id"))
937
+
 
938
  # Initialize variable for a match
939
  matching_trustbuilders = []
940
 
 
958
  if matching_trustbuilders:
959
  st.write("### Result:")
960
  # Join the matching trustbuilders into a bullet list
961
+ st.markdown("\n".join([f"- {tb.replace("$", "\$")}" for tb in matching_trustbuilders]))
962
  else:
963
  st.write("No TrustBuilders found matching the criteria.")
964