cmpatino commited on
Commit
68c4a5f
1 Parent(s): 2958f64

Fix punctuation and formatting

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -36,14 +36,14 @@ def get_clusters_plot(n_blobs, quantile, cluster_std):
36
 
37
  if len(centers) != n_clusters_:
38
  message = (
39
- f"The number of estimated clusters {n_clusters_}"
40
- + f" differs from the true number of clusters. ({n_blobs})."
41
- + " Try changing the bandwidth parameter."
42
  )
43
  else:
44
  message = (
45
- f"The number of estimated clusters {n_clusters_}"
46
- + f" matches the true number of clusters. ({n_blobs})!"
47
  )
48
  return fig, message
49
 
 
36
 
37
  if len(centers) != n_clusters_:
38
  message = (
39
+ f"The number of estimated clusters ({n_clusters_})"
40
+ + f" differs from the true number of clusters ({n_blobs})."
41
+ + " Try changing the `Quantile` parameter."
42
  )
43
  else:
44
  message = (
45
+ f"The number of estimated clusters ({n_clusters_})"
46
+ + f" matches the true number of clusters ({n_blobs})!"
47
  )
48
  return fig, message
49