Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
|
|
|
| 142 |
|
| 143 |
# ------------- Title -------------
|
| 144 |
st.markdown("<div class='title'>π Multimodal Chat Assistant</div>", unsafe_allow_html=True)
|
| 145 |
|
| 146 |
-
|
| 147 |
-
|
| 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"])
|