Update app.py
Browse files
app.py
CHANGED
@@ -71,11 +71,11 @@ def semantic_search(query, file_path):
|
|
71 |
iface = gr.Interface(
|
72 |
fn=semantic_search,
|
73 |
inputs=[
|
74 |
-
gr.Textbox(lines=2, placeholder="Enter your query here..."),
|
75 |
gr.File(file_types=['txt'], label="Upload a .txt file")
|
76 |
],
|
77 |
outputs="text",
|
78 |
-
title="
|
79 |
description="Input a query and upload a document (.txt) to find the most semantically similar paragraphs or sentences."
|
80 |
)
|
81 |
|
|
|
71 |
iface = gr.Interface(
|
72 |
fn=semantic_search,
|
73 |
inputs=[
|
74 |
+
gr.Textbox(lines=2, label="Input Query", placeholder="Enter your query here..."),
|
75 |
gr.File(file_types=['txt'], label="Upload a .txt file")
|
76 |
],
|
77 |
outputs="text",
|
78 |
+
title="Semantic Search with Indus-ST (demo)",
|
79 |
description="Input a query and upload a document (.txt) to find the most semantically similar paragraphs or sentences."
|
80 |
)
|
81 |
|