Spaces:
Build error
Build error
Delete expander_layout.py
Browse files- expander_layout.py +0 -24
expander_layout.py
DELETED
|
@@ -1,24 +0,0 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
|
| 3 |
-
# App Title
|
| 4 |
-
st.title("π Streamlit Expander Example")
|
| 5 |
-
|
| 6 |
-
# Display the final answer prominently
|
| 7 |
-
st.markdown("## π‘ **Final Answer**")
|
| 8 |
-
st.success("This is the final response generated from the system.")
|
| 9 |
-
|
| 10 |
-
# Expander for additional details
|
| 11 |
-
with st.expander("π **View Relevance Analysis**"):
|
| 12 |
-
st.write("β
**Context 1 - Score: 0**")
|
| 13 |
-
st.write("**Reasoning:** This context contains sufficient information to answer the query.")
|
| 14 |
-
|
| 15 |
-
st.write("β
**Context 2 - Score: 1**")
|
| 16 |
-
st.write("**Reasoning:** This context lacks clarity and does not fully address the query.")
|
| 17 |
-
|
| 18 |
-
with st.expander("π **View Retrieved Contexts**"):
|
| 19 |
-
st.write("πΉ **Context 1:** This is a relevant passage from the document.")
|
| 20 |
-
st.write("πΉ **Context 2:** This is another relevant passage.")
|
| 21 |
-
|
| 22 |
-
# Footer
|
| 23 |
-
st.markdown("---")
|
| 24 |
-
st.markdown("π‘ **Click on expanders to reveal more details!**")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|