Commit
•
c1b15b4
1
Parent(s):
eb9f45f
formatting
Browse files
app.py
CHANGED
@@ -76,11 +76,8 @@ def format_results(
|
|
76 |
similarity = result["similarity"]
|
77 |
url = f"https://huggingface.co/datasets/{hub_id}"
|
78 |
|
79 |
-
#
|
80 |
-
|
81 |
-
title = title_match[1] if title_match else hub_id
|
82 |
-
|
83 |
-
header = f"## [{title}]({url})"
|
84 |
markdown += header + "\n"
|
85 |
markdown += f"**Similarity Score:** {similarity:.4f}\n\n"
|
86 |
|
|
|
76 |
similarity = result["similarity"]
|
77 |
url = f"https://huggingface.co/datasets/{hub_id}"
|
78 |
|
79 |
+
# Always use the Hub ID as the title
|
80 |
+
header = f"## [{hub_id}]({url})"
|
|
|
|
|
|
|
81 |
markdown += header + "\n"
|
82 |
markdown += f"**Similarity Score:** {similarity:.4f}\n\n"
|
83 |
|