Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
2d2b6f1
1
Parent(s):
c9e56ee
debug
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ try:
|
|
119 |
#######################################################
|
120 |
# Read each text input file, parse it into a document,
|
121 |
# chunk it, collect chunks and document name.
|
122 |
-
if not client.collections.exists("Documents") or not client.collections.exists("Chunks) :
|
123 |
logger.debug("#### Read and chunk input text files.")
|
124 |
for filename in os.listdir(pathString):
|
125 |
logger.info(filename)
|
|
|
119 |
#######################################################
|
120 |
# Read each text input file, parse it into a document,
|
121 |
# chunk it, collect chunks and document name.
|
122 |
+
if not client.collections.exists("Documents") or not client.collections.exists("Chunks") :
|
123 |
logger.debug("#### Read and chunk input text files.")
|
124 |
for filename in os.listdir(pathString):
|
125 |
logger.info(filename)
|