DrishtiSharma commited on
Commit
d5511d0
Β·
verified Β·
1 Parent(s): 4dc079f

Delete expander_layout.py

Browse files
Files changed (1) hide show
  1. 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!**")