Update app.py
Browse files
app.py
CHANGED
|
@@ -219,7 +219,7 @@ with gr.Blocks(css=custom_css, title="Address Entity Matcher") as demo:
|
|
| 219 |
# Header
|
| 220 |
gr.HTML("""
|
| 221 |
<div id="header-box">
|
| 222 |
-
<h1>
|
| 223 |
<p>
|
| 224 |
Enter two addresses to determine whether they refer to the same location.<br>
|
| 225 |
Powered by a fine-tuned <strong>BGE-Reranker-v2-m3</strong> cross-encoder model.
|
|
@@ -245,7 +245,7 @@ with gr.Blocks(css=custom_css, title="Address Entity Matcher") as demo:
|
|
| 245 |
lines=3,
|
| 246 |
)
|
| 247 |
|
| 248 |
-
btn = gr.Button("
|
| 249 |
|
| 250 |
# Outputs
|
| 251 |
with gr.Row(equal_height=True):
|
|
@@ -283,7 +283,7 @@ with gr.Blocks(css=custom_css, title="Address Entity Matcher") as demo:
|
|
| 283 |
["House No 4 Lane 2 DLF Phase 1 Gurugram", "H.No 4/2 DLF Phase One Gurgaon"],
|
| 284 |
],
|
| 285 |
inputs=[input1, input2],
|
| 286 |
-
label="
|
| 287 |
)
|
| 288 |
|
| 289 |
# Footer info
|
|
|
|
| 219 |
# Header
|
| 220 |
gr.HTML("""
|
| 221 |
<div id="header-box">
|
| 222 |
+
<h1>Address Entity Matcher</h1>
|
| 223 |
<p>
|
| 224 |
Enter two addresses to determine whether they refer to the same location.<br>
|
| 225 |
Powered by a fine-tuned <strong>BGE-Reranker-v2-m3</strong> cross-encoder model.
|
|
|
|
| 245 |
lines=3,
|
| 246 |
)
|
| 247 |
|
| 248 |
+
btn = gr.Button(" Check Match", elem_id="run-btn", variant="primary")
|
| 249 |
|
| 250 |
# Outputs
|
| 251 |
with gr.Row(equal_height=True):
|
|
|
|
| 283 |
["House No 4 Lane 2 DLF Phase 1 Gurugram", "H.No 4/2 DLF Phase One Gurgaon"],
|
| 284 |
],
|
| 285 |
inputs=[input1, input2],
|
| 286 |
+
label="Examples",
|
| 287 |
)
|
| 288 |
|
| 289 |
# Footer info
|