Tonic commited on
Commit
874e011
1 Parent(s): 0f8fb6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,9 +51,9 @@ def evaluate_hallucination(input1, input2):
51
 
52
  # Generate a label based on the score
53
  if score < 0.5:
54
- label = f"🔴 Low risk. Score: {score:.2f}"
55
  else:
56
- label = f"🟢 Higher risk. Score: {score:.2f}"
57
 
58
  return label
59
 
 
51
 
52
  # Generate a label based on the score
53
  if score < 0.5:
54
+ label = f"🔴 High risk. Score: {score:.2f}"
55
  else:
56
+ label = f"🟢 Low risk. Score: {score:.2f}"
57
 
58
  return label
59