freemt commited on
Commit
4678308
·
1 Parent(s): 8d06a0f
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,7 +23,8 @@ def cmat2aset(
23
  np.ndarray, List[Tuple[Union[int, str], Union[int, str], Union[float, str]]]
24
  ]:
25
  """Set up gradio api for cmataset."""
26
- logger.debug("cma[:3, :3]", np.array(cmat)[:3, :3])
 
27
  try:
28
  return c2a(cmat, eps, min_samples)
29
  except Exception as exc:
 
23
  np.ndarray, List[Tuple[Union[int, str], Union[int, str], Union[float, str]]]
24
  ]:
25
  """Set up gradio api for cmataset."""
26
+ cmat = np.array(cmat, dtype=float)
27
+ logger.debug("cmat[:3, :3]: %s", cmat[:3, :3])
28
  try:
29
  return c2a(cmat, eps, min_samples)
30
  except Exception as exc: