Update app.py
Browse files
app.py
CHANGED
@@ -297,9 +297,9 @@ def streamlit_app(db):
|
|
297 |
|
298 |
final_items.extend(items)
|
299 |
|
300 |
-
|
301 |
|
302 |
-
|
303 |
|
304 |
|
305 |
@st.cache_resource
|
@@ -324,4 +324,4 @@ def streamlit_app(db):
|
|
324 |
st.session_state.messages.append({"role":"assistant","content":response})
|
325 |
|
326 |
if __name__ == "__main__":
|
327 |
-
streamlit_app()
|
|
|
297 |
|
298 |
final_items.extend(items)
|
299 |
|
300 |
+
db = create_vector_db(final_items)
|
301 |
|
302 |
+
st.write("Models have been processed and added to the database.")
|
303 |
|
304 |
|
305 |
@st.cache_resource
|
|
|
324 |
st.session_state.messages.append({"role":"assistant","content":response})
|
325 |
|
326 |
if __name__ == "__main__":
|
327 |
+
streamlit_app(db)
|