Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,8 @@ co = cohere.Client(cohere_api_key)
|
|
| 19 |
index = faiss.read_index("faiss_index.bin")
|
| 20 |
|
| 21 |
# Load the DataFrame
|
| 22 |
-
csv_file_path = r'C:\Users\Dell\3D Objects\NLP\gg\nowgg_embeddings.csv' # Replace with the path to your CSV file
|
| 23 |
-
test3 = pd.read_csv(
|
| 24 |
|
| 25 |
# Function to get embedding for a query using Cohere
|
| 26 |
def get_query_embedding(query):
|
|
|
|
| 19 |
index = faiss.read_index("faiss_index.bin")
|
| 20 |
|
| 21 |
# Load the DataFrame
|
| 22 |
+
#csv_file_path = r'C:\Users\Dell\3D Objects\NLP\gg\nowgg_embeddings.csv' # Replace with the path to your CSV file
|
| 23 |
+
test3 = pd.read_csv("nowgg_embeddings.csv")
|
| 24 |
|
| 25 |
# Function to get embedding for a query using Cohere
|
| 26 |
def get_query_embedding(query):
|