Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def respond(
|
|
45 |
queries = [
|
46 |
get_detailed_instruct(task, message)
|
47 |
]
|
48 |
-
examples.append
|
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
|