summerstay commited on
Commit
f04a85b
1 Parent(s): bc1fbe6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ model_Q = SentenceTransformer('flax-sentence-embeddings/multi-QA_v1-mpnet-asymme
6
 
7
  def getVectors(sentences):
8
  vectors = []
9
- splitSentences = sentences.split('/*/')
10
  for sentence in sentences:
11
  vectors.append(model_Q.encode(sentence))
12
  return vectors
 
6
 
7
  def getVectors(sentences):
8
  vectors = []
9
+ splitSentences = sentences.split('ZZZ')
10
  for sentence in sentences:
11
  vectors.append(model_Q.encode(sentence))
12
  return vectors