timefullytrue commited on
Commit
e7334fb
1 Parent(s): 2e0da1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -19,6 +19,8 @@ client = chromadb.Client()
19
  collection = client.get_or_create_collection("patents")
20
  collection.add(documents=docs,ids=ids)
21
 
 
 
22
  def text_embedding(input):
23
  model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
24
  return model.encode(input)
 
19
  collection = client.get_or_create_collection("patents")
20
  collection.add(documents=docs,ids=ids)
21
 
22
+ ##
23
+
24
  def text_embedding(input):
25
  model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
26
  return model.encode(input)