Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ class CompanyKnowledgeBase:
|
|
29 |
for entry in self.dataset:
|
30 |
for question in entry['questions']:
|
31 |
self.question_to_answer[question] = entry['answer']
|
32 |
-
|
33 |
except Exception as e:
|
34 |
st.error(f"Error loading knowledge base: {e}")
|
35 |
self.dataset = None
|
|
|
29 |
for entry in self.dataset:
|
30 |
for question in entry['questions']:
|
31 |
self.question_to_answer[question] = entry['answer']
|
32 |
+
print(self.question_to_answer[question].index)
|
33 |
except Exception as e:
|
34 |
st.error(f"Error loading knowledge base: {e}")
|
35 |
self.dataset = None
|