Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -181,7 +181,7 @@ def respond(message,history):
|
|
| 181 |
### STEP 6
|
| 182 |
# Call the preprocess_text function and store the result in a cleaned_chunks variable
|
| 183 |
cleaned_chunks = preprocess_text(financial_advice_text) # Complete this line
|
| 184 |
-
top_results = get_top_chunks("What financial advice you give me?",
|
| 185 |
|
| 186 |
print(top_results)
|
| 187 |
|
|
|
|
| 181 |
### STEP 6
|
| 182 |
# Call the preprocess_text function and store the result in a cleaned_chunks variable
|
| 183 |
cleaned_chunks = preprocess_text(financial_advice_text) # Complete this line
|
| 184 |
+
top_results = get_top_chunks("What financial advice you give me?", chunk_embeddings2, cleaned_chunks2)
|
| 185 |
|
| 186 |
print(top_results)
|
| 187 |
|