Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def load_model(model_path):
|
|
| 19 |
if __name__ == "__main__":
|
| 20 |
|
| 21 |
st.title("Sartorius Neuronal Cell Segmentation")
|
| 22 |
-
|
| 23 |
inf_model = models.CellposeModel(gpu=False, pretrained_model=model_path)
|
| 24 |
uploaded_img = st.file_uploader(label="Upload neuronal cell image")
|
| 25 |
|
|
|
|
| 19 |
if __name__ == "__main__":
|
| 20 |
|
| 21 |
st.title("Sartorius Neuronal Cell Segmentation")
|
| 22 |
+
model_path = "./cellpose_residual_on_style_on_concatenation_off_fold1_ep_649_cv_0.2834"
|
| 23 |
inf_model = models.CellposeModel(gpu=False, pretrained_model=model_path)
|
| 24 |
uploaded_img = st.file_uploader(label="Upload neuronal cell image")
|
| 25 |
|