Spaces:
Sleeping

skarugu commited on
Commit
af0db87
·
verified ·
1 Parent(s): 5bf3d58

Updated streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -3
src/streamlit_app.py CHANGED
@@ -1,6 +1,6 @@
1
  # src/streamlit_app.py
2
  """
3
- MyoSeg — Myotube & Nuclei Analyser
4
  ========================================
5
  Drop-in replacement for streamlit_app.py on Hugging Face Spaces.
6
 
@@ -530,8 +530,8 @@ def make_coloured_overlay(rgb_u8: np.ndarray,
530
  this is what the sidebar colour pickers control.
531
  """
532
  orig_h, orig_w = rgb_u8.shape[:2]
533
- nuc_cmap = plt.cm.get_cmap("cool")
534
- myo_cmap = plt.cm.get_cmap("autumn")
535
 
536
  def _resize_lab(lab, h, w):
537
  return np.array(
 
1
  # src/streamlit_app.py
2
  """
3
+ MyoSeg — Myotube & Nuclei Analyzer
4
  ========================================
5
  Drop-in replacement for streamlit_app.py on Hugging Face Spaces.
6
 
 
530
  this is what the sidebar colour pickers control.
531
  """
532
  orig_h, orig_w = rgb_u8.shape[:2]
533
+ nuc_cmap = plt.colormaps["cool"]
534
+ myo_cmap = plt.colormaps["autumn"]
535
 
536
  def _resize_lab(lab, h, w):
537
  return np.array(