Atak Kan
commited on
Commit
·
5c9f6e5
1
Parent(s):
f3af7df
Add application file
Browse files
app.py
CHANGED
|
@@ -878,12 +878,10 @@ def search(query: str) -> List[Hit]:
|
|
| 878 |
demo = gr.Interface(
|
| 879 |
fn=search,
|
| 880 |
inputs=gr.Textbox(lines=2, placeholder="Enter your query here...", label="Search Query"),
|
| 881 |
-
outputs=gr.
|
| 882 |
title="BM25 Search Engine",
|
| 883 |
description="""
|
| 884 |
-
|
| 885 |
-
|
| 886 |
-
Enter a query in the textbox below to retrieve the top 10 most relevant documents based on the BM25 ranking algorithm.
|
| 887 |
"""
|
| 888 |
)
|
| 889 |
|
|
|
|
| 878 |
demo = gr.Interface(
|
| 879 |
fn=search,
|
| 880 |
inputs=gr.Textbox(lines=2, placeholder="Enter your query here...", label="Search Query"),
|
| 881 |
+
outputs=gr.Textbox(label="Search Results"),
|
| 882 |
title="BM25 Search Engine",
|
| 883 |
description="""
|
| 884 |
+
BM25
|
|
|
|
|
|
|
| 885 |
"""
|
| 886 |
)
|
| 887 |
|