Wajahat698 commited on
Commit
ee1283d
·
verified ·
1 Parent(s): 8eb5d4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -825,9 +825,9 @@ def side():
825
  trust_builder_text = st.text_area("Type/paste Trust Builder®", key="trust_builder_text")
826
  trust_buckets = ["Stability", "Development", "Relationship", "Benefit", "Vision", "Competence"]
827
  selected_save_bucket = st.selectbox("Allocate to®", trust_buckets, key="save_bucket")
828
- col1, col2 = st.columns([1, 1])
829
- with col1:
830
- if st.button("Allocate", key="save_trustbuilder"):
831
  if trust_builder_text.strip() and selected_save_bucket:
832
  content_to_save = f"{selected_save_bucket}: Brand: {brand_save.strip()} | {trust_builder_text.strip()}"
833
  save_content(st.session_state.get("wix_user_id"), content_to_save)
@@ -835,8 +835,8 @@ def side():
835
  st.warning("Please fill all fields")
836
 
837
 
838
- with col2:
839
- tooltip_css = """
840
  <style>
841
  .tooltip-container {
842
  position: relative;
@@ -888,9 +888,9 @@ def side():
888
  """
889
 
890
  # Inject CSS
891
- st.markdown(tooltip_css, unsafe_allow_html=True)
892
 
893
- st.markdown("""
894
  <div class="tooltip-container">
895
  <button>LetAI Allocate</button>
896
  <span class="tooltiptext">
 
825
  trust_builder_text = st.text_area("Type/paste Trust Builder®", key="trust_builder_text")
826
  trust_buckets = ["Stability", "Development", "Relationship", "Benefit", "Vision", "Competence"]
827
  selected_save_bucket = st.selectbox("Allocate to®", trust_buckets, key="save_bucket")
828
+
829
+
830
+ if st.button("Allocate", key="save_trustbuilder"):
831
  if trust_builder_text.strip() and selected_save_bucket:
832
  content_to_save = f"{selected_save_bucket}: Brand: {brand_save.strip()} | {trust_builder_text.strip()}"
833
  save_content(st.session_state.get("wix_user_id"), content_to_save)
 
835
  st.warning("Please fill all fields")
836
 
837
 
838
+
839
+ tooltip_css = """
840
  <style>
841
  .tooltip-container {
842
  position: relative;
 
888
  """
889
 
890
  # Inject CSS
891
+ st.markdown(tooltip_css, unsafe_allow_html=True)
892
 
893
+ st.markdown("""
894
  <div class="tooltip-container">
895
  <button>LetAI Allocate</button>
896
  <span class="tooltiptext">