Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def transcribe_audio(audio_file):
|
|
| 71 |
|
| 72 |
# Perform Fast Search Using ChromaDB
|
| 73 |
def search_with_chromadb(query):
|
| 74 |
-
results = collection.query(query_texts=[query], n_results=
|
| 75 |
return results['documents'][0] if results['documents'] else []
|
| 76 |
|
| 77 |
# UI Layout with Tabs
|
|
|
|
| 71 |
|
| 72 |
# Perform Fast Search Using ChromaDB
|
| 73 |
def search_with_chromadb(query):
|
| 74 |
+
results = collection.query(query_texts=[query], n_results=10)
|
| 75 |
return results['documents'][0] if results['documents'] else []
|
| 76 |
|
| 77 |
# UI Layout with Tabs
|