Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
1945c30
1
Parent(s):
4855f80
debug
Browse files
app.py
CHANGED
@@ -215,6 +215,7 @@ try:
|
|
215 |
logger.info("#### createWebpageCollection() exited.")
|
216 |
else:
|
217 |
wpCollection = client.collections.get("Documents")
|
|
|
218 |
|
219 |
|
220 |
if not client.collections.exists("Chunks"):
|
@@ -270,6 +271,7 @@ try:
|
|
270 |
logger.info("#### createChunksCollection() exited.")
|
271 |
else:
|
272 |
wpChunksCollection = client.collections.get("Chunks")
|
|
|
273 |
|
274 |
|
275 |
|
|
|
215 |
logger.info("#### createWebpageCollection() exited.")
|
216 |
else:
|
217 |
wpCollection = client.collections.get("Documents")
|
218 |
+
st.session_state.wpCollection = wpCollection
|
219 |
|
220 |
|
221 |
if not client.collections.exists("Chunks"):
|
|
|
271 |
logger.info("#### createChunksCollection() exited.")
|
272 |
else:
|
273 |
wpChunksCollection = client.collections.get("Chunks")
|
274 |
+
st.session_state.wpChunkCollection = wpChunkCollection
|
275 |
|
276 |
|
277 |
|