LiangLabUMB commited on
Commit
056a728
·
verified ·
1 Parent(s): 7cadbde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -314,7 +314,7 @@ def update_viability_realtime(blue_threshold, stored_masks, stored_image_np):
314
  # Create the Gradio interface
315
  with gr.Blocks(title="Cell Viability Counter with Trypan Blue Analysis", theme=gr.themes.Soft()) as demo:
316
  gr.Markdown("# Cell Viability Counter with Trypan Blue Analysis")
317
- gr.Markdown("Upload a trypan blue stained microscopy image and analyze cell viability. Dead cells appear blue, alive cells are unstained.")
318
 
319
  # Define State components to store masks and image data across function calls
320
  masks_state = gr.State(value=None)
@@ -466,7 +466,7 @@ with gr.Blocks(title="Cell Viability Counter with Trypan Blue Analysis", theme=g
466
 
467
  2. **Analysis Results**:
468
  - **Cell Count**: Total number of detected cells
469
- - **Confluency**: Percentage of image area covered by cells (useful for assessing cell density)
470
 
471
  3. **Real-time Viability Assessment (Trypan Blue)**:
472
  - After segmentation, the viability section will become visible.
 
314
  # Create the Gradio interface
315
  with gr.Blocks(title="Cell Viability Counter with Trypan Blue Analysis", theme=gr.themes.Soft()) as demo:
316
  gr.Markdown("# Cell Viability Counter with Trypan Blue Analysis")
317
+ gr.Markdown("Upload a trypan blue stained microscopy image and analyze cell viability. Dead cells appear blue, alive cells are unstained. For accurate cell confluency, crop the image to display only desired area.")
318
 
319
  # Define State components to store masks and image data across function calls
320
  masks_state = gr.State(value=None)
 
466
 
467
  2. **Analysis Results**:
468
  - **Cell Count**: Total number of detected cells
469
+ - **Confluency**: Percentage of image area covered by cells (useful for assessing cell density). Note that cell confluency is calculated per the entire area of the image input.
470
 
471
  3. **Real-time Viability Assessment (Trypan Blue)**:
472
  - After segmentation, the viability section will become visible.