Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
b622079
1
Parent(s):
373bd4c
wpCollection
Browse files
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 =
|
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.
|