Update app.py
Browse files
app.py
CHANGED
|
@@ -360,14 +360,14 @@ with gr.Blocks(
|
|
| 360 |
head=pwa_head # Add PWA head elements
|
| 361 |
) as demo:
|
| 362 |
gr.Markdown("# CellposeCellCounter")
|
| 363 |
-
gr.Markdown("
|
| 364 |
|
| 365 |
# Define State components to store masks and image data across function calls
|
| 366 |
masks_state = gr.State(value=None)
|
| 367 |
image_state = gr.State(value=None)
|
| 368 |
|
| 369 |
with gr.Tab("Image Editor (Draw Selection)"):
|
| 370 |
-
gr.Markdown("###
|
| 371 |
|
| 372 |
with gr.Row():
|
| 373 |
with gr.Column():
|
|
@@ -392,7 +392,7 @@ with gr.Blocks(
|
|
| 392 |
|
| 393 |
# Viability Assessment Section
|
| 394 |
with gr.Group(visible=False) as viability_section1:
|
| 395 |
-
gr.Markdown("###
|
| 396 |
gr.Markdown("Adjust the threshold to classify cells as live (green) or dead (red).")
|
| 397 |
|
| 398 |
with gr.Row():
|
|
@@ -434,7 +434,7 @@ with gr.Blocks(
|
|
| 434 |
)
|
| 435 |
|
| 436 |
with gr.Tab("Manual Coordinates"):
|
| 437 |
-
gr.Markdown("###
|
| 438 |
|
| 439 |
with gr.Row():
|
| 440 |
with gr.Column():
|
|
@@ -459,7 +459,7 @@ with gr.Blocks(
|
|
| 459 |
|
| 460 |
# Viability Assessment Section
|
| 461 |
with gr.Group(visible=False) as viability_section2:
|
| 462 |
-
gr.Markdown("###
|
| 463 |
gr.Markdown("Adjust the threshold to classify cells as live (green) or dead (red).")
|
| 464 |
|
| 465 |
with gr.Row():
|
|
|
|
| 360 |
head=pwa_head # Add PWA head elements
|
| 361 |
) as demo:
|
| 362 |
gr.Markdown("# CellposeCellCounter")
|
| 363 |
+
gr.Markdown("For accurate cell confluency, crop the image to display only desired area.")
|
| 364 |
|
| 365 |
# Define State components to store masks and image data across function calls
|
| 366 |
masks_state = gr.State(value=None)
|
| 367 |
image_state = gr.State(value=None)
|
| 368 |
|
| 369 |
with gr.Tab("Image Editor (Draw Selection)"):
|
| 370 |
+
gr.Markdown("### Draw selection and run segmentation")
|
| 371 |
|
| 372 |
with gr.Row():
|
| 373 |
with gr.Column():
|
|
|
|
| 392 |
|
| 393 |
# Viability Assessment Section
|
| 394 |
with gr.Group(visible=False) as viability_section1:
|
| 395 |
+
gr.Markdown("### Viability Assessment (Trypan Blue)")
|
| 396 |
gr.Markdown("Adjust the threshold to classify cells as live (green) or dead (red).")
|
| 397 |
|
| 398 |
with gr.Row():
|
|
|
|
| 434 |
)
|
| 435 |
|
| 436 |
with gr.Tab("Manual Coordinates"):
|
| 437 |
+
gr.Markdown("### Upload image and run segmentation")
|
| 438 |
|
| 439 |
with gr.Row():
|
| 440 |
with gr.Column():
|
|
|
|
| 459 |
|
| 460 |
# Viability Assessment Section
|
| 461 |
with gr.Group(visible=False) as viability_section2:
|
| 462 |
+
gr.Markdown("### Viability Assessment (Trypan Blue)")
|
| 463 |
gr.Markdown("Adjust the threshold to classify cells as live (green) or dead (red).")
|
| 464 |
|
| 465 |
with gr.Row():
|