rishabh5752 commited on
Commit
3d4c7bf
·
1 Parent(s): 80f127a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -8,9 +8,7 @@ from annoy import AnnoyIndex
8
  cohere_api_key = "4GMQpN0nV9chIaV3DTQNmVYiskbTZdDBPrvw7pPs"
9
  co = cohere.Client(cohere_api_key)
10
 
11
- # Load the pre-built Annoy index
12
- search_index = AnnoyIndex(512, 'angular')
13
- search_index.load('test.ann')
14
 
15
  # Define a function to search for information
16
  def search_text(query):
 
8
  cohere_api_key = "4GMQpN0nV9chIaV3DTQNmVYiskbTZdDBPrvw7pPs"
9
  co = cohere.Client(cohere_api_key)
10
 
11
+
 
 
12
 
13
  # Define a function to search for information
14
  def search_text(query):