merve HF staff commited on
Commit
d6c138f
1 Parent(s): fffd448

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def parse_metrics_f1(meta):
54
  if "model-index" not in meta:
55
  return None
56
  result = meta["model-index"][0]["results"]
57
- metrics = result[0]["metrics"]
58
  f1 = metrics[1]["value"]
59
  print("F1-score", f1)
60
  return f1
 
54
  if "model-index" not in meta:
55
  return None
56
  result = meta["model-index"][0]["results"]
57
+ metrics = result[1]["metrics"]
58
  f1 = metrics[1]["value"]
59
  print("F1-score", f1)
60
  return f1