demetz commited on
Commit
2571345
·
verified ·
1 Parent(s): 18898ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,9 +6,9 @@ import torch
6
  with open("knowledge.txt", "r", encoding="utf-8") as file:
7
  knowledge = file.read()
8
 
9
- print(knowlege)
10
 
11
- cleaned_chunks = [chunk.strip() for chunk in knowlege.strip().split("\n") if chunk.strip()]
12
  print(cleaned_chunks)
13
 
14
  model = SentenceTransformer('all-MiniLM-L6-v2')
 
6
  with open("knowledge.txt", "r", encoding="utf-8") as file:
7
  knowledge = file.read()
8
 
9
+ print(knowledge)
10
 
11
+ cleaned_chunks = [chunk.strip() for chunk in knowledge.strip().split("\n") if chunk.strip()]
12
  print(cleaned_chunks)
13
 
14
  model = SentenceTransformer('all-MiniLM-L6-v2')