Tom Aarsen commited on
Commit ·
845d613
1
Parent(s): e005eea
Upgrade gradio; remove some padding
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🔍
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 4.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
short_description: Efficient quantized retrieval over Wikipedia
|
|
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.4.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
short_description: Efficient quantized retrieval over Wikipedia
|
app.py
CHANGED
|
@@ -117,7 +117,7 @@ def search(
|
|
| 117 |
<div style=\"border: 1px solid var(--border-color-primary, #e0e0e0); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; background-color: var(--block-background-fill, transparent); color: inherit;\">
|
| 118 |
<div style=\"display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 4px;\">
|
| 119 |
<div style=\"font-size: 16px; font-weight: 600; min-width: 0;\">
|
| 120 |
-
<a href=\"{url}\" target=\"_blank\" style=\"text-decoration: none; color: var(--link-text-color, #1f6feb);\">{title}</a>
|
| 121 |
</div>
|
| 122 |
<div style=\"font-size: 12px; color: var(--body-text-color-subdued, #586069); text-align: right; white-space: nowrap;\">
|
| 123 |
Score: {score_str} • Rank: {rank_str} • Binary rank: {binary_rank_str}
|
|
|
|
| 117 |
<div style=\"border: 1px solid var(--border-color-primary, #e0e0e0); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; background-color: var(--block-background-fill, transparent); color: inherit;\">
|
| 118 |
<div style=\"display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 4px;\">
|
| 119 |
<div style=\"font-size: 16px; font-weight: 600; min-width: 0;\">
|
| 120 |
+
<a href=\"{url}\" target=\"_blank\" style=\"text-decoration: none; color: var(--link-text-color, #1f6feb); padding-left: 0;\">{title}</a>
|
| 121 |
</div>
|
| 122 |
<div style=\"font-size: 12px; color: var(--body-text-color-subdued, #586069); text-align: right; white-space: nowrap;\">
|
| 123 |
Score: {score_str} • Rank: {rank_str} • Binary rank: {binary_rank_str}
|