updated space readme
Browse files- S2FApp/README.md +4 -0
- S2FApp/app.py +1 -0
S2FApp/README.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
- cell-mechanobiology
|
| 4 |
- microscopy
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Shape2Force
|
| 3 |
+
emoji: 🦠
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
tags:
|
| 7 |
- cell-mechanobiology
|
| 8 |
- microscopy
|
S2FApp/app.py
CHANGED
|
@@ -136,6 +136,7 @@ run = st.button("Run prediction", type="primary")
|
|
| 136 |
has_image = img is not None
|
| 137 |
|
| 138 |
if run and checkpoint and has_image:
|
|
|
|
| 139 |
with st.spinner("Loading model and predicting..."):
|
| 140 |
try:
|
| 141 |
from predictor import S2FPredictor
|
|
|
|
| 136 |
has_image = img is not None
|
| 137 |
|
| 138 |
if run and checkpoint and has_image:
|
| 139 |
+
st.markdown(f"**Loading checkpoint:** `{checkpoint}`")
|
| 140 |
with st.spinner("Loading model and predicting..."):
|
| 141 |
try:
|
| 142 |
from predictor import S2FPredictor
|