Bofandra commited on
Commit
b104ce4
1 Parent(s): c9a3b22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def respond(
45
  queries = [
46
  get_detailed_instruct(task, message)
47
  ]
48
- examples.append[message]
49
 
50
  query_embeddings = model.encode(queries, convert_to_tensor=True, normalize_embeddings=True)
51
  scores = (query_embeddings @ encoded_questions.T) * 100
 
45
  queries = [
46
  get_detailed_instruct(task, message)
47
  ]
48
+ examples.append(message)
49
 
50
  query_embeddings = model.encode(queries, convert_to_tensor=True, normalize_embeddings=True)
51
  scores = (query_embeddings @ encoded_questions.T) * 100