Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def initiate_pipeline():
|
|
27 |
llama_model = initiate_pipeline()
|
28 |
|
29 |
# Load the Q&A pairs from the CSV
|
30 |
-
qa_data = pd.read_csv("
|
31 |
|
32 |
# Function to retrieve the top 5 relevant Q&A pairs using Sentence-BERT
|
33 |
def retrieve_top_k(query, k=5):
|
|
|
27 |
llama_model = initiate_pipeline()
|
28 |
|
29 |
# Load the Q&A pairs from the CSV
|
30 |
+
qa_data = pd.read_csv("rag_juri_cv.csv")
|
31 |
|
32 |
# Function to retrieve the top 5 relevant Q&A pairs using Sentence-BERT
|
33 |
def retrieve_top_k(query, k=5):
|