Spaces:
Paused
Paused
Carlos Rosas
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -26,8 +26,8 @@ model_name = "PleIAs/Cassandre-RAG"
|
|
26 |
llm = LLM(model_name, max_model_len=8128)
|
27 |
|
28 |
# Connect to the LanceDB database
|
29 |
-
db = lancedb.connect("content/lancedb_data")
|
30 |
-
table = db.open_table("
|
31 |
|
32 |
def hybrid_search(text):
|
33 |
results = table.search(text, query_type="hybrid").limit(6).to_pandas()
|
|
|
26 |
llm = LLM(model_name, max_model_len=8128)
|
27 |
|
28 |
# Connect to the LanceDB database
|
29 |
+
db = lancedb.connect("content 3/lancedb_data")
|
30 |
+
table = db.open_table("sciencev2")
|
31 |
|
32 |
def hybrid_search(text):
|
33 |
results = table.search(text, query_type="hybrid").limit(6).to_pandas()
|