robinhad commited on
Commit
869fbea
·
verified ·
1 Parent(s): c08a038

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def bot(user_message: str, history: list[dict[str, Any]]):
83
  for model_choice in MODEL_OPTIONS:
84
  model, tokenizer = load_model(model_choice) # returns embedding model
85
  score = compute_score(user_message, model, tokenizer)["score"]
86
- scores["model_choice"] = score
87
  res += f"{model_choice}: {score}\n"
88
 
89
 
 
83
  for model_choice in MODEL_OPTIONS:
84
  model, tokenizer = load_model(model_choice) # returns embedding model
85
  score = compute_score(user_message, model, tokenizer)["score"]
86
+ scores[model_choice] = score
87
  res += f"{model_choice}: {score}\n"
88
 
89