Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from chromadb_semantic_search_for_dataset import search_cases
|
| 3 |
|
| 4 |
iface = gr.Interface(
|
| 5 |
-
fn=
|
| 6 |
inputs=gr.Textbox(label="Search for a case"),
|
| 7 |
outputs=gr.Textbox(label="Top 3 Similar Dishes"),
|
| 8 |
title="Case Based Semantic Search",
|
|
|
|
| 2 |
from chromadb_semantic_search_for_dataset import search_cases
|
| 3 |
|
| 4 |
iface = gr.Interface(
|
| 5 |
+
fn=search_cases,
|
| 6 |
inputs=gr.Textbox(label="Search for a case"),
|
| 7 |
outputs=gr.Textbox(label="Top 3 Similar Dishes"),
|
| 8 |
title="Case Based Semantic Search",
|