Spaces:
Runtime error
Runtime error
MEOW commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def create_index(documents):
|
|
| 43 |
port=19530,
|
| 44 |
dim=1024,
|
| 45 |
collection_name="vectorstore",
|
| 46 |
-
gpu_id=0 # Specify the GPU ID to use
|
| 47 |
output_fields=["field1","field2"]
|
| 48 |
)
|
| 49 |
# vector_store = MilvusVectorStore(uri="./milvus_demo.db", dim=1024, overwrite=True) #For CPU only vector store
|
|
|
|
| 43 |
port=19530,
|
| 44 |
dim=1024,
|
| 45 |
collection_name="vectorstore",
|
| 46 |
+
gpu_id=0, # Specify the GPU ID to use
|
| 47 |
output_fields=["field1","field2"]
|
| 48 |
)
|
| 49 |
# vector_store = MilvusVectorStore(uri="./milvus_demo.db", dim=1024, overwrite=True) #For CPU only vector store
|