RishabhBhardwaj commited on
Commit
a2bd494
1 Parent(s): a3e8717
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -72,17 +72,17 @@ if st.button("Evaluate"):
72
  result_container.warning("Please enter some text to evaluate.")
73
 
74
  # Add logo at the bottom center (only once)
75
- if 'logo_displayed' not in st.session_state:
76
- col1, col2, col3 = st.columns([1,2,1])
77
- with col2:
78
- logo_url = "https://github.com/walledai/walledeval/assets/32847115/d8b1d14f-7071-448b-8997-2eeba4c2c8f6"
79
- logo = load_image_from_url(logo_url)
80
- st.image(logo, use_column_width=True, width=500) # Adjust the width as needed
81
- st.session_state.logo_displayed = True
82
 
83
  # Add information about Walled Guard Advanced (only once)
84
- if 'info_displayed' not in st.session_state:
85
- col1, col2, col3 = st.columns([1,2,1])
86
- with col2:
87
- st.info("For a more performant version, check out Walled Guard Advanced. Connect with us at admin@walled.ai for more information.")
88
- st.session_state.info_displayed = True
 
72
  result_container.warning("Please enter some text to evaluate.")
73
 
74
  # Add logo at the bottom center (only once)
75
+ #if 'logo_displayed' not in st.session_state:
76
+ col1, col2, col3 = st.columns([1,2,1])
77
+ with col2:
78
+ logo_url = "https://github.com/walledai/walledeval/assets/32847115/d8b1d14f-7071-448b-8997-2eeba4c2c8f6"
79
+ logo = load_image_from_url(logo_url)
80
+ st.image(logo, use_column_width=True, width=500) # Adjust the width as needed
81
+ #st.session_state.logo_displayed = True
82
 
83
  # Add information about Walled Guard Advanced (only once)
84
+ #if 'info_displayed' not in st.session_state:
85
+ col1, col2, col3 = st.columns([1,2,1])
86
+ with col2:
87
+ st.info("For a more performant version, check out Walled Guard Advanced. Connect with us at admin@walled.ai for more information.")
88
+ #st.session_state.info_displayed = True