Spaces:
Sleeping
Sleeping
Update semsearch.py
Browse files- semsearch.py +6 -6
semsearch.py
CHANGED
|
@@ -163,13 +163,13 @@ webpageChunksDocNames = []
|
|
| 163 |
# #auth_credentials=AuthApiKey(weaviate_key), # `weaviate_key`: your Weaviate API key
|
| 164 |
#)
|
| 165 |
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
#)
|
| 169 |
-
|
| 170 |
-
client = weaviate.connect_to_local(
|
| 171 |
-
#cluster_url="http://localhost:8080"
|
| 172 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
print("#### client: ",client)
|
| 174 |
|
| 175 |
client.connect()
|
|
|
|
| 163 |
# #auth_credentials=AuthApiKey(weaviate_key), # `weaviate_key`: your Weaviate API key
|
| 164 |
#)
|
| 165 |
|
| 166 |
+
client = weaviate.Client(
|
| 167 |
+
url="http://localhost:8080"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
)
|
| 169 |
+
|
| 170 |
+
#client = weaviate.connect_to_local(
|
| 171 |
+
# #cluster_url="http://localhost:8080"
|
| 172 |
+
#)
|
| 173 |
print("#### client: ",client)
|
| 174 |
|
| 175 |
client.connect()
|