Wajahat698 commited on
Commit
91178d1
·
verified ·
1 Parent(s): d0a3e9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -59
app.py CHANGED
@@ -579,7 +579,7 @@ def side():
579
  st.sidebar.markdown('<hr style="border: 2px solid rgb(255, 153, 0); width: 80%; margin: 20px auto;">', unsafe_allow_html=True)
580
 
581
  with st.sidebar.expander("**Trust Buckets® and Trust Builders®**", expanded=False):
582
- st.image("s (1).png")
583
  st.markdown(
584
  "Our minds assess trust through Six Buckets of Trust® and determine their importance and order in a given situation. We then evaluate why we can or can’t trust someone in these Buckets. Trustifier.ai®, trained on 20 years of TrustLogic® application, helps you identify reasons why your audience can trust you in each Bucket and create trust-optimised solutions. It’s copy AI with substance."
585
  )
@@ -686,64 +686,8 @@ def side():
686
  )
687
  st.markdown("For detailed descriptions, visit [Academy](https://www.trustifier.ai/account/academy)")
688
 
689
- image_files = [
690
- ("Bucket_STABILITY.png"),
691
- ("Bucket_DEVELOPMENT.png"),
692
- ("Bucket_RELATIONSHIP.png"),
693
- ("Bucket_BENEFIT.png"),
694
- ("Bucket_VISION.png"),
695
- ("Bucket_COMPETENCE.png"),
696
- ]
697
-
698
- # CSS for layout and hover effect in Streamlit
699
- st.markdown(
700
- """
701
- <style>
702
- .image-container {
703
- display: flex;
704
- justify-content: center;
705
- gap: 20px;
706
- }
707
- .image-wrapper {
708
- text-align: center;
709
- position: relative;
710
- }
711
- .image-wrapper img {
712
- width: 100px;
713
- transition: transform 0.3s;
714
- }
715
- .image-wrapper img:hover {
716
- transform: scale(1.1);
717
- }
718
- .hover-text {
719
- position: absolute;
720
- top: 110%;
721
- left: 50%;
722
- transform: translateX(-50%);
723
- opacity: 0;
724
- transition: opacity 0.3s;
725
- font-size: 14px;
726
- font-weight: bold;
727
- }
728
- .image-wrapper:hover .hover-text {
729
- opacity: 1;
730
- }
731
- </style>
732
- """,
733
- unsafe_allow_html=True,
734
- )
735
-
736
- # Create a horizontal layout using Streamlit's columns
737
- cols = st.columns(len(image_files))
738
-
739
- # Display each image in its respective column
740
- for idx, (img_path) in enumerate(image_files):
741
- with cols[idx]:
742
- # Open the image (assuming it's pre-resized)
743
- img = Image.open(img_path)
744
-
745
- # Display the image with caption and hover effect using use_container_width=True
746
- st.image(img,use_container_width=True)
747
 
748
  st.sidebar.markdown('<hr style="border: 2px solid rgb(255, 153, 0); width: 80%; margin: 20px auto;">', unsafe_allow_html=True)
749
 
 
579
  st.sidebar.markdown('<hr style="border: 2px solid rgb(255, 153, 0); width: 80%; margin: 20px auto;">', unsafe_allow_html=True)
580
 
581
  with st.sidebar.expander("**Trust Buckets® and Trust Builders®**", expanded=False):
582
+ st.image("s (1).png", use_column_width=True)
583
  st.markdown(
584
  "Our minds assess trust through Six Buckets of Trust® and determine their importance and order in a given situation. We then evaluate why we can or can’t trust someone in these Buckets. Trustifier.ai®, trained on 20 years of TrustLogic® application, helps you identify reasons why your audience can trust you in each Bucket and create trust-optimised solutions. It’s copy AI with substance."
585
  )
 
686
  )
687
  st.markdown("For detailed descriptions, visit [Academy](https://www.trustifier.ai/account/academy)")
688
 
689
+ st.image("s (1).png", use_column_width=True)
690
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
691
 
692
  st.sidebar.markdown('<hr style="border: 2px solid rgb(255, 153, 0); width: 80%; margin: 20px auto;">', unsafe_allow_html=True)
693