elia-waefler commited on
Commit
457ed1c
·
1 Parent(s): 54ce67f
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -148,9 +148,8 @@ def main():
148
  else:
149
  st.warning("unsaved embeddings will be lost.")
150
  else:
151
- if not sst.vectorstore:
152
- vec_store = setup_db.load_vectorstore_from_excel("data/KBOB_Klassifizierung.xlsx")
153
- sst.vectorstore = True
154
  sst.page = "home"
155
  file = st.file_uploader("upload file", accept_multiple_files=False)
156
  if st.button("classify me!"):
 
148
  else:
149
  st.warning("unsaved embeddings will be lost.")
150
  else:
151
+
152
+ vec_store = setup_db.load_vectorstore_from_excel("data/KBOB_Klassifizierung.xlsx")
 
153
  sst.page = "home"
154
  file = st.file_uploader("upload file", accept_multiple_files=False)
155
  if st.button("classify me!"):