Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -746,12 +746,11 @@ def side():
|
|
| 746 |
|
| 747 |
# Arrange text inputs and Show button
|
| 748 |
col1, col2, col3 = st.columns([1, 1, 0.5])
|
| 749 |
-
|
| 750 |
-
|
| 751 |
-
|
| 752 |
-
|
| 753 |
-
|
| 754 |
-
st.write("") # Empty space to align the button
|
| 755 |
if st.button("Show"):
|
| 756 |
st.write(f"Filtering TrustBuilders for keyword='{search_query}', brand='{brand}', and bucket='{selected_bucket}'")
|
| 757 |
trustbuilders = fetch_trustbuilders(st.session_state["wix_user_id"])
|
|
|
|
| 746 |
|
| 747 |
# Arrange text inputs and Show button
|
| 748 |
col1, col2, col3 = st.columns([1, 1, 0.5])
|
| 749 |
+
|
| 750 |
+
search_query = st.text_input("Search by keyword")
|
| 751 |
+
st.write("or")
|
| 752 |
+
brand = st.text_input("Brand/Product/Person", key="brand_input_show")
|
| 753 |
+
st.write("")
|
|
|
|
| 754 |
if st.button("Show"):
|
| 755 |
st.write(f"Filtering TrustBuilders for keyword='{search_query}', brand='{brand}', and bucket='{selected_bucket}'")
|
| 756 |
trustbuilders = fetch_trustbuilders(st.session_state["wix_user_id"])
|