Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
522d392
1
Parent(s):
2b6582c
debug
Browse files
app.py
CHANGED
@@ -147,9 +147,9 @@ try:
|
|
147 |
|
148 |
chunks = []
|
149 |
for chnk in chunksOnePage:
|
150 |
-
logger.
|
151 |
chunks.append(chnk)
|
152 |
-
logger.
|
153 |
webpageChunks.append(chunks)
|
154 |
webpageChunksDocNames.append(filename + "Chunks")
|
155 |
|
@@ -290,7 +290,7 @@ try:
|
|
290 |
# Create Webpage Object
|
291 |
page_content = page_contentArray[i]
|
292 |
# Insert the document.
|
293 |
-
wpCollectionObj_uuid
|
294 |
{
|
295 |
"name": className,
|
296 |
"title": title,
|
|
|
147 |
|
148 |
chunks = []
|
149 |
for chnk in chunksOnePage:
|
150 |
+
logger.debug(f"#### chnk in file: {chnk}")
|
151 |
chunks.append(chnk)
|
152 |
+
logger.debug(f"chunks: {chunks}")
|
153 |
webpageChunks.append(chunks)
|
154 |
webpageChunksDocNames.append(filename + "Chunks")
|
155 |
|
|
|
290 |
# Create Webpage Object
|
291 |
page_content = page_contentArray[i]
|
292 |
# Insert the document.
|
293 |
+
wpCollectionObj_uuid.append = wpCollection.data.insert(
|
294 |
{
|
295 |
"name": className,
|
296 |
"title": title,
|