Zekun Wu commited on
Commit
51c7b4d
1 Parent(s): 388107d
Files changed (1) hide show
  1. pages/5_Conversation_Evaluation.py +1 -1
pages/5_Conversation_Evaluation.py CHANGED
@@ -102,7 +102,7 @@ else:
102
 
103
  if st.button('Evaluate Conversation'):
104
  if conversation and context:
105
- eval = Evaluator(model_name)
106
  scores = eval.evaluate_conversation(conversation, context)
107
  st.write('### Scores')
108
  details = write_evaluation_commentary(scores["aggregate_scores"])
 
102
 
103
  if st.button('Evaluate Conversation'):
104
  if conversation and context:
105
+ eval = evaluator(model_name)
106
  scores = eval.evaluate_conversation(conversation, context)
107
  st.write('### Scores')
108
  details = write_evaluation_commentary(scores["aggregate_scores"])