Updated streamlit_app.py
Browse files- 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
|
| 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.
|
| 534 |
-
myo_cmap = plt.
|
| 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(
|