rizzdeep commited on
Commit
a603dd8
Β·
verified Β·
1 Parent(s): 5b0dcf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -129,7 +129,6 @@ st.markdown("""
129
  </style>
130
  """, unsafe_allow_html=True)
131
 
132
- # ------------- Sidebar -------------
133
  with st.sidebar:
134
  st.markdown("<div class='sidebar-logo'><img src='https://cdn-icons-png.flaticon.com/512/4712/4712027.png' width='100'></div>", unsafe_allow_html=True)
135
  st.title("πŸ€– RAG Assistant")
@@ -138,14 +137,14 @@ with st.sidebar:
138
  st.write("β€’ Powered by **LLaMA 3 + Groq** ⚑")
139
  if st.button("πŸ—‘οΈ Clear Chat"):
140
  st.session_state.chat_history = []
141
- st.experimental_rerun()
 
142
 
143
  # ------------- Title -------------
144
  st.markdown("<div class='title'>πŸ“„ Multimodal Chat Assistant</div>", unsafe_allow_html=True)
145
 
146
- # ------------- Chat Container -------------
147
- with st.container():
148
- st.markdown("<div class='chat-container'>", unsafe_allow_html=True)
149
 
150
  # Upload UI
151
  uploaded_file = st.file_uploader("πŸ“€ Upload a PDF file", type=["pdf"])
 
129
  </style>
130
  """, unsafe_allow_html=True)
131
 
 
132
  with st.sidebar:
133
  st.markdown("<div class='sidebar-logo'><img src='https://cdn-icons-png.flaticon.com/512/4712/4712027.png' width='100'></div>", unsafe_allow_html=True)
134
  st.title("πŸ€– RAG Assistant")
 
137
  st.write("β€’ Powered by **LLaMA 3 + Groq** ⚑")
138
  if st.button("πŸ—‘οΈ Clear Chat"):
139
  st.session_state.chat_history = []
140
+ st.rerun()
141
+
142
 
143
  # ------------- Title -------------
144
  st.markdown("<div class='title'>πŸ“„ Multimodal Chat Assistant</div>", unsafe_allow_html=True)
145
 
146
+
147
+
 
148
 
149
  # Upload UI
150
  uploaded_file = st.file_uploader("πŸ“€ Upload a PDF file", type=["pdf"])