Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -724,13 +724,13 @@ def side():
|
|
| 724 |
|
| 725 |
# Show My TrustBuilders Section
|
| 726 |
st.sidebar.subheader("Show my TrustBuilders®")
|
| 727 |
-
search_query = st.sidebar.text_input("Search by keyword")
|
| 728 |
if search_query:
|
| 729 |
search_results = {k: v for k, v in st.session_state.get("TrustBuilder", {}).items() if search_query.lower() in v["message"].lower()}
|
| 730 |
for result_id, result_data in search_results.items():
|
| 731 |
st.sidebar.write(f"- {result_data['message'][:50]}")
|
| 732 |
|
| 733 |
-
st.sidebar.text_input("Brand/Product/Person")
|
| 734 |
if st.sidebar.button("Show"):
|
| 735 |
st.write("Show clicked")
|
| 736 |
|
|
|
|
| 724 |
|
| 725 |
# Show My TrustBuilders Section
|
| 726 |
st.sidebar.subheader("Show my TrustBuilders®")
|
| 727 |
+
search_query = st.sidebar.text_input("Search by keyword",key="keyword")
|
| 728 |
if search_query:
|
| 729 |
search_results = {k: v for k, v in st.session_state.get("TrustBuilder", {}).items() if search_query.lower() in v["message"].lower()}
|
| 730 |
for result_id, result_data in search_results.items():
|
| 731 |
st.sidebar.write(f"- {result_data['message'][:50]}")
|
| 732 |
|
| 733 |
+
st.sidebar.text_input("Brand/Product/Person",key="hko")
|
| 734 |
if st.sidebar.button("Show"):
|
| 735 |
st.write("Show clicked")
|
| 736 |
|