mingbaer commited on
Commit
75c17e5
·
verified ·
1 Parent(s): 32de873

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ with open("essay_writing.txt", "r", encoding="utf-8") as file:
18
  # split the text into chunks
19
  cleaned_text = essay_writing.strip()
20
  chunks = cleaned_text.split("\n")
21
- cleaned_chunks = [chunk.strip() for chunk in chunks if stripped_chunk]
22
 
23
  # load an embedding model
24
  model = SentenceTransformer('all-MiniLM-L6-v2')
 
18
  # split the text into chunks
19
  cleaned_text = essay_writing.strip()
20
  chunks = cleaned_text.split("\n")
21
+ cleaned_chunks = [chunk.strip() for chunk in chunks if chunk.strip()]
22
 
23
  # load an embedding model
24
  model = SentenceTransformer('all-MiniLM-L6-v2')