Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ class CompanyKnowledgeBase:
|
|
9 |
def __init__(self, dataset_name="JustKiddo/IODataset"):
|
10 |
# Load dataset from Hugging Face
|
11 |
try:
|
12 |
-
self.dataset = load_dataset(dataset_name)['
|
13 |
|
14 |
# Initialize semantic search
|
15 |
self.model = SentenceTransformer('paraphrase-multilingual-MiniLM-L12-v2')
|
|
|
9 |
def __init__(self, dataset_name="JustKiddo/IODataset"):
|
10 |
# Load dataset from Hugging Face
|
11 |
try:
|
12 |
+
self.dataset = load_dataset(dataset_name)['train']
|
13 |
|
14 |
# Initialize semantic search
|
15 |
self.model = SentenceTransformer('paraphrase-multilingual-MiniLM-L12-v2')
|