Tonic commited on
Commit
4f549e8
·
1 Parent(s): 751d93d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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