MVPilgrim commited on
Commit
b622079
·
1 Parent(s): 373bd4c

wpCollection

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -222,7 +222,7 @@ try:
222
  st.session_state.wpCollection = wpCollection
223
  logger.info("#### Create documents schema/collection ended.")
224
  else:
225
- wpCollection = st.session_state.wpCollection
226
  st.session_state.wpCollection = wpCollection
227
 
228
  # Create chunks in db.
 
222
  st.session_state.wpCollection = wpCollection
223
  logger.info("#### Create documents schema/collection ended.")
224
  else:
225
+ wpCollection = client.collections.get("Documents")
226
  st.session_state.wpCollection = wpCollection
227
 
228
  # Create chunks in db.