Update app.py
Browse files
app.py
CHANGED
|
@@ -508,7 +508,7 @@ with gr.Blocks(title="Cell Counter with Real-time Viability Assessment", theme=g
|
|
| 508 |
# Viability Assessment Section
|
| 509 |
with gr.Group(visible=False) as viability_section2:
|
| 510 |
gr.Markdown("### Step 2: Real-time Viability Assessment")
|
| 511 |
-
gr.Markdown("Adjust the blue threshold to classify cells as live (green) or dead (red). Higher values
|
| 512 |
|
| 513 |
with gr.Row():
|
| 514 |
with gr.Column():
|
|
@@ -518,7 +518,7 @@ with gr.Blocks(title="Cell Counter with Real-time Viability Assessment", theme=g
|
|
| 518 |
value=100,
|
| 519 |
step=1,
|
| 520 |
label="Blue Threshold",
|
| 521 |
-
info="Higher values = more cells classified as
|
| 522 |
)
|
| 523 |
|
| 524 |
with gr.Column():
|
|
@@ -571,7 +571,7 @@ with gr.Blocks(title="Cell Counter with Real-time Viability Assessment", theme=g
|
|
| 571 |
- Statistics show total counts and viability percentage
|
| 572 |
|
| 573 |
### Tips:
|
| 574 |
-
- Start with a threshold around
|
| 575 |
- Dead cells typically have higher blue intensity due to trypan blue uptake
|
| 576 |
- The threshold is applied in real-time without re-running segmentation
|
| 577 |
""")
|
|
|
|
| 508 |
# Viability Assessment Section
|
| 509 |
with gr.Group(visible=False) as viability_section2:
|
| 510 |
gr.Markdown("### Step 2: Real-time Viability Assessment")
|
| 511 |
+
gr.Markdown("Adjust the blue threshold to classify cells as live (green) or dead (red). Higher values are more selective for dead cells.")
|
| 512 |
|
| 513 |
with gr.Row():
|
| 514 |
with gr.Column():
|
|
|
|
| 518 |
value=100,
|
| 519 |
step=1,
|
| 520 |
label="Blue Threshold",
|
| 521 |
+
info="Higher values = more cells classified as alive"
|
| 522 |
)
|
| 523 |
|
| 524 |
with gr.Column():
|
|
|
|
| 571 |
- Statistics show total counts and viability percentage
|
| 572 |
|
| 573 |
### Tips:
|
| 574 |
+
- Start with a threshold around 200 and adjust based on your staining
|
| 575 |
- Dead cells typically have higher blue intensity due to trypan blue uptake
|
| 576 |
- The threshold is applied in real-time without re-running segmentation
|
| 577 |
""")
|