Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,6 @@ else:
|
|
112 |
|
113 |
# Initialize vectorstore
|
114 |
vectorstore = Weaviate(client, index_name="HereChat", text_key="text")
|
115 |
-
client.schema.create(schema)
|
116 |
vectorstore._query_attrs = ["text", "title", "url", "views", "lang", "_additional {distance}"]
|
117 |
vectorstore.embedding = CohereEmbeddings(model="embed-multilingual-v2.0", cohere_api_key=cohere_api_key)
|
118 |
|
|
|
112 |
|
113 |
# Initialize vectorstore
|
114 |
vectorstore = Weaviate(client, index_name="HereChat", text_key="text")
|
|
|
115 |
vectorstore._query_attrs = ["text", "title", "url", "views", "lang", "_additional {distance}"]
|
116 |
vectorstore.embedding = CohereEmbeddings(model="embed-multilingual-v2.0", cohere_api_key=cohere_api_key)
|
117 |
|