Almaatla commited on
Commit
e9a3274
·
verified ·
1 Parent(s): 037ce1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ text_splitter = RecursiveCharacterTextSplitter(
35
  separators=["\n\n", "\n", " ", ""]
36
  )
37
 
38
- embeddings = SentenceTransformerEmbeddings(model_name="all-MiniLM-L6-v2", device="cuda")
39
  foo = Document(page_content='foo is fou!',metadata={"source":'foo source'})
40
 
41
 
 
35
  separators=["\n\n", "\n", " ", ""]
36
  )
37
 
38
+ embeddings = SentenceTransformerEmbeddings(model_name="all-MiniLM-L6-v2")
39
  foo = Document(page_content='foo is fou!',metadata={"source":'foo source'})
40
 
41