Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import gradio as gr
|
|
| 8 |
model = SentenceTransformer('sentence-transformers/all-mpnet-base-v2')
|
| 9 |
|
| 10 |
# Load the embeddings from the JSON file
|
| 11 |
-
with open('
|
| 12 |
data = json.load(f)
|
| 13 |
|
| 14 |
# Function to perform the search
|
|
|
|
| 8 |
model = SentenceTransformer('sentence-transformers/all-mpnet-base-v2')
|
| 9 |
|
| 10 |
# Load the embeddings from the JSON file
|
| 11 |
+
with open('final_data_with_embeddings.json', 'r') as f:
|
| 12 |
data = json.load(f)
|
| 13 |
|
| 14 |
# Function to perform the search
|