Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def search_embeddings(query_text, output_option):
|
|
| 41 |
hits = response["hits"]
|
| 42 |
|
| 43 |
sources_md = [f"[\"{hit['source_page_title']}\"]({hit['source_page_url']})" for hit in hits]
|
| 44 |
-
sources_md = ",".join(sources_md)
|
| 45 |
|
| 46 |
# step3: present the results in markdown
|
| 47 |
if output_option == "human-friendly":
|
|
|
|
| 41 |
hits = response["hits"]
|
| 42 |
|
| 43 |
sources_md = [f"[\"{hit['source_page_title']}\"]({hit['source_page_url']})" for hit in hits]
|
| 44 |
+
sources_md = ", ".join(sources_md)
|
| 45 |
|
| 46 |
# step3: present the results in markdown
|
| 47 |
if output_option == "human-friendly":
|