Spaces:
Running
Running
Commit
•
7b8a95d
1
Parent(s):
ecf0f3e
try again
Browse files
app.py
CHANGED
@@ -68,26 +68,14 @@ result_container = st.empty()
|
|
68 |
if st.button("Evaluate"):
|
69 |
evaluate_text(user_input, result_container)
|
70 |
|
71 |
-
# Logo fragment
|
72 |
-
@st.experimental_fragment
|
73 |
-
def display_logo(logo_container):
|
74 |
-
logo_url = "https://github.com/walledai/walledeval/assets/32847115/d8b1d14f-7071-448b-8997-2eeba4c2c8f6"
|
75 |
-
logo = load_image_from_url(logo_url)
|
76 |
-
with logo_container:
|
77 |
-
st.image(logo, use_column_width=True, width=500) # Adjust the width as needed
|
78 |
-
|
79 |
-
# Info fragment
|
80 |
-
@st.experimental_fragment
|
81 |
-
def display_info(info_container):
|
82 |
-
with info_container:
|
83 |
-
st.info("For a more performant version, check out Walled Guard Advanced. Connect with us at admin@walled.ai for more information.")
|
84 |
-
|
85 |
# Add logo at the bottom center
|
86 |
col1, col2, col3 = st.columns([1,2,1])
|
87 |
-
|
88 |
-
|
|
|
|
|
89 |
|
90 |
# Add information about Walled Guard Advanced
|
91 |
col1, col2, col3 = st.columns([1,2,1])
|
92 |
-
|
93 |
-
|
|
|
68 |
if st.button("Evaluate"):
|
69 |
evaluate_text(user_input, result_container)
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
# Add logo at the bottom center
|
72 |
col1, col2, col3 = st.columns([1,2,1])
|
73 |
+
with col2:
|
74 |
+
logo_url = "https://github.com/walledai/walledeval/assets/32847115/d8b1d14f-7071-448b-8997-2eeba4c2c8f6"
|
75 |
+
logo = load_image_from_url(logo_url)
|
76 |
+
st.image(logo, use_column_width=True, width=500) # Adjust the width as needed
|
77 |
|
78 |
# Add information about Walled Guard Advanced
|
79 |
col1, col2, col3 = st.columns([1,2,1])
|
80 |
+
with col2:
|
81 |
+
st.info("For a more performant version, check out Walled Guard Advanced. Connect with us at admin@walled.ai for more information.")
|