lewtun HF staff commited on
Commit
e8c6d2e
1 Parent(s): 7b6efd3
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -66,6 +66,7 @@ def get_supported_metrics():
66
  except Exception as e:
67
  print(e)
68
  print("Skipping the following metric, which cannot load:", metric)
 
69
 
70
  argspec = inspect.getfullargspec(metric_func.compute)
71
  if "references" in argspec.kwonlyargs and "predictions" in argspec.kwonlyargs:
 
66
  except Exception as e:
67
  print(e)
68
  print("Skipping the following metric, which cannot load:", metric)
69
+ continue
70
 
71
  argspec = inspect.getfullargspec(metric_func.compute)
72
  if "references" in argspec.kwonlyargs and "predictions" in argspec.kwonlyargs: