MVPilgrim commited on
Commit
a910a31
·
1 Parent(s): d61cfa8
Files changed (1) hide show
  1. semsearch.py +1 -1
semsearch.py CHANGED
@@ -118,7 +118,7 @@ client.connect()
118
  # Read each text input file, parse it into a document,
119
  # chunk it, collect chunks and document name.
120
  logger.info("#### Read and chunk input text files.")
121
- if not client.collections.exists("Documents") || not client.collections.exists("Documents") :
122
  for filename in os.listdir(pathString):
123
  logger.info(filename)
124
  path = Path(pathString + "/" + filename)
 
118
  # Read each text input file, parse it into a document,
119
  # chunk it, collect chunks and document name.
120
  logger.info("#### Read and chunk input text files.")
121
+ if not client.collections.exists("Documents") or not client.collections.exists("Documents") :
122
  for filename in os.listdir(pathString):
123
  logger.info(filename)
124
  path = Path(pathString + "/" + filename)