Spaces:
Runtime error
Runtime error
corentinm7
commited on
Commit
•
f5085c0
1
Parent(s):
72afcb8
Update pages/2_SDH_Staining_Analysis.py
Browse files
pages/2_SDH_Staining_Analysis.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
from cellpose.core import use_gpu
|
3 |
from cellpose.models import Cellpose
|
4 |
|
@@ -242,3 +243,8 @@ if uploaded_file_sdh is not None:
|
|
242 |
ax3.imshow(paint_img, cmap=cmap, alpha=0.5)
|
243 |
ax3.axis("off")
|
244 |
st.pyplot(fig3)
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
from streamlit.components.v1 import html
|
3 |
from cellpose.core import use_gpu
|
4 |
from cellpose.models import Cellpose
|
5 |
|
|
|
243 |
ax3.imshow(paint_img, cmap=cmap, alpha=0.5)
|
244 |
ax3.axis("off")
|
245 |
st.pyplot(fig3)
|
246 |
+
html(
|
247 |
+
f"""
|
248 |
+
<script defer data-domain="huggingface.co/spaces/corentinm7/myoquant" src="https://plausible.cmeyer.fr/js/script.js"></script>
|
249 |
+
"""
|
250 |
+
)
|