Update app.py
Browse files
app.py
CHANGED
|
@@ -410,9 +410,9 @@ with gr.Blocks(
|
|
| 410 |
gr.Markdown("# CellposeCellCounter")
|
| 411 |
gr.Markdown("For accurate cell confluency, crop the image to display only desired area.")
|
| 412 |
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
|
| 417 |
with gr.Tab("Image Editor (Draw Selection)"):
|
| 418 |
gr.Markdown("### Draw selection and run segmentation")
|
|
|
|
| 410 |
gr.Markdown("# CellposeCellCounter")
|
| 411 |
gr.Markdown("For accurate cell confluency, crop the image to display only desired area.")
|
| 412 |
|
| 413 |
+
masks_state = gr.State(value=None)
|
| 414 |
+
image_state = gr.State(value=None)
|
| 415 |
+
|
| 416 |
|
| 417 |
with gr.Tab("Image Editor (Draw Selection)"):
|
| 418 |
gr.Markdown("### Draw selection and run segmentation")
|