Kazel commited on
Commit
7fbdcfe
·
1 Parent(s): 0af2fdf
Files changed (1) hide show
  1. milvus_manager.py +1 -1
milvus_manager.py CHANGED
@@ -5,7 +5,7 @@ from pymilvus import Collection
5
 
6
  class MilvusManager:
7
  def __init__(self, milvus_uri, collection_name, create_collection, dim=128):
8
- self.client = MilvusClient(uri=localhost)
9
  # self.client = MilvusClient(uri="http://localhost:19530", token="root:Milvus")
10
  self.collection_name = collection_name
11
  self.dim = dim
 
5
 
6
  class MilvusManager:
7
  def __init__(self, milvus_uri, collection_name, create_collection, dim=128):
8
+ self.client = MilvusClient(uri=milvus_uri)
9
  # self.client = MilvusClient(uri="http://localhost:19530", token="root:Milvus")
10
  self.collection_name = collection_name
11
  self.dim = dim