Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
-
from
|
| 3 |
-
|
| 4 |
-
iface = gr.Interface(
|
| 5 |
-
fn=search_dishes,
|
| 6 |
-
inputs=gr.Textbox(label="Search for a
|
| 7 |
-
outputs=gr.Textbox(label="Top
|
| 8 |
-
title="
|
| 9 |
-
description="Type a
|
| 10 |
-
)
|
| 11 |
-
|
| 12 |
-
iface.launch()
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from chromadb_semantic_search_for_dataset import search_cases
|
| 3 |
+
|
| 4 |
+
iface = gr.Interface(
|
| 5 |
+
fn=search_dishes,
|
| 6 |
+
inputs=gr.Textbox(label="Search for a case"),
|
| 7 |
+
outputs=gr.Textbox(label="Top 3 Similar Dishes"),
|
| 8 |
+
title="Case Based Semantic Search",
|
| 9 |
+
description="Type a case name to find the top 3 similar cases."
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
iface.launch()
|