Spaces:
Runtime error
Runtime error
corentinm7
commited on
Commit
•
2dd5ab4
1
Parent(s):
f5085c0
Update pages/3_Breast_Muscle_Analysis.py
Browse files
pages/3_Breast_Muscle_Analysis.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
from cellpose import models, core
|
3 |
from stardist.models import StarDist2D
|
4 |
from csbdeep.utils import normalize
|
@@ -422,3 +423,8 @@ if uploaded_file_cyto is not None and uploaded_file_nuc is not None:
|
|
422 |
ax3.imshow(painted_img, cmap=cmap, alpha=0.5)
|
423 |
ax3.axis("off")
|
424 |
st.pyplot(fig3)
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
from streamlit.components.v1 import html
|
3 |
from cellpose import models, core
|
4 |
from stardist.models import StarDist2D
|
5 |
from csbdeep.utils import normalize
|
|
|
423 |
ax3.imshow(painted_img, cmap=cmap, alpha=0.5)
|
424 |
ax3.axis("off")
|
425 |
st.pyplot(fig3)
|
426 |
+
html(
|
427 |
+
f"""
|
428 |
+
<script defer data-domain="huggingface.co/spaces/corentinm7/myoquant" src="https://plausible.cmeyer.fr/js/script.js"></script>
|
429 |
+
"""
|
430 |
+
)
|