MVPilgrim commited on
Commit
e5190ef
·
1 Parent(s): 909f4bf
Files changed (1) hide show
  1. semsearch.py +3 -2
semsearch.py CHANGED
@@ -250,7 +250,7 @@ class_obj = {
250
  }
251
  ]
252
  }
253
- return(client.collections.create_from_dict(class_obj))
254
 
255
  logger.info("#### createWebpageCollection() entered.")
256
  if client.collections.exists("Documents"):
@@ -302,7 +302,8 @@ class_obj = {
302
  }
303
  ]
304
  }
305
- return(client.collections.create_from_dict(class_obj))
 
306
 
307
  ###########################################################
308
  # Create document and chunks objects in the database.
 
250
  }
251
  ]
252
  }
253
+ wpChunkCollection = client.collections.create_from_dict(class_obj)
254
 
255
  logger.info("#### createWebpageCollection() entered.")
256
  if client.collections.exists("Documents"):
 
302
  }
303
  ]
304
  }
305
+ wpCollection = client.collections.create_from_dict(class_obj)
306
+
307
 
308
  ###########################################################
309
  # Create document and chunks objects in the database.