JustKiddo commited on
Commit
4f50d75
1 Parent(s): 9665b8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,9 +29,10 @@ class CompanyKnowledgeBase:
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
36
  self.embeddings = None
37
  self.index = 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])
33
  except Exception as e:
34
  st.error(f"Error loading knowledge base: {e}")
35
+ print(f"Error loading knowledge base: {e}")
36
  self.dataset = None
37
  self.embeddings = None
38
  self.index = None