Spaces:
Running
Running
thenativefox
commited on
Commit
·
c6d6ded
1
Parent(s):
c1d292c
Fixed the path to db
Browse files- backend/semantic_search.py +1 -1
- requirements.txt +1 -1
backend/semantic_search.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
import gradio as gr
|
4 |
from sentence_transformers import SentenceTransformer
|
5 |
|
6 |
-
db = lancedb.connect("
|
7 |
|
8 |
MODEL1_STRATEGY1 = "model1_fixed"
|
9 |
MODEL2_STRATEGY1 = "model2_fixed"
|
|
|
3 |
import gradio as gr
|
4 |
from sentence_transformers import SentenceTransformer
|
5 |
|
6 |
+
db = lancedb.connect("/Users/anvereshko/Desktop/rag-gradio-sample-project/gradio_app/.lancedb")
|
7 |
|
8 |
MODEL1_STRATEGY1 = "model1_fixed"
|
9 |
MODEL2_STRATEGY1 = "model2_fixed"
|
requirements.txt
CHANGED
@@ -6,4 +6,4 @@ sentence-transformers==3.0.0
|
|
6 |
torch==2.3.1
|
7 |
sentencepiece==0.2.0
|
8 |
pandas
|
9 |
-
|
|
|
6 |
torch==2.3.1
|
7 |
sentencepiece==0.2.0
|
8 |
pandas
|
9 |
+
gradio
|