Spaces:
Sleeping
Sleeping
Update gradio_app.py
Browse files- gradio_app.py +19 -7
gradio_app.py
CHANGED
|
@@ -170,7 +170,7 @@ def run_grid_state(img_path, use_gamma, gamma_val):
|
|
| 170 |
return gallery_items
|
| 171 |
|
| 172 |
# =========================
|
| 173 |
-
# Example Images (
|
| 174 |
# =========================
|
| 175 |
EXAMPLE_META = [
|
| 176 |
("crl_112_img.png", "Cell: SW480 (QPI)<br>System: Omnimesoscope<br>(diam, flow) = (60, 1.0)"),
|
|
@@ -210,14 +210,26 @@ def load_ex5(use_gamma, gamma_val): return load_example_by_index(4, use_gamma, g
|
|
| 210 |
# UI
|
| 211 |
# =========================
|
| 212 |
description = """
|
| 213 |
-
**CellPhase1.0
|
| 214 |
-
Supported by the **National Institute of Health/National Institute of Biomedical Imaging and Bioengineering**, Award #: **P41EB031772**.
|
| 215 |
|
| 216 |
-
|
| 217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 218 |
|
| 219 |
-
**Please cite**: "Sengupta et al., CellPhase1.0" if you use this in your work.
|
| 220 |
-
**License**: Open Source – [MIT License](https://opensource.org/licenses/MIT)
|
| 221 |
"""
|
| 222 |
|
| 223 |
with gr.Blocks(title="CellPhase1.0 - Cell Segmentation Tool") as demo:
|
|
|
|
| 170 |
return gallery_items
|
| 171 |
|
| 172 |
# =========================
|
| 173 |
+
# Example Images (Click to load and segment with diameter and flow values shown below)
|
| 174 |
# =========================
|
| 175 |
EXAMPLE_META = [
|
| 176 |
("crl_112_img.png", "Cell: SW480 (QPI)<br>System: Omnimesoscope<br>(diam, flow) = (60, 1.0)"),
|
|
|
|
| 210 |
# UI
|
| 211 |
# =========================
|
| 212 |
description = """
|
| 213 |
+
# **CellPhase1.0 — Whole-Cell Segmentation for QPI**
|
|
|
|
| 214 |
|
| 215 |
+
**Note:**
|
| 216 |
+
CellPhase1.0 is developed and released by the Center for Label-free Imaging and Multiscale Biophotonics, Beckman Institute, University of Illinois Urbana-Champaign.
|
| 217 |
+
Supported by the National Institute of Health/National Institute of Biomedical Imaging and Bioengineering, Award #: P41EB031772.
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
**Model:** CellPhase1.0
|
| 221 |
+
**Input:** Label-free image (e.g., QPI or phase contrast)
|
| 222 |
+
**Output:** Whole-cell segmentation mask and overlay visualization
|
| 223 |
+
|
| 224 |
+
Note:
|
| 225 |
+
- **This is the first version, tarined on diverse cell types and QPI imaging system. We aim to improve this with further collaboration and community support.
|
| 226 |
+
|
| 227 |
+
|
| 228 |
+
**Citation:** Sengupta *et al.*, *CellPhase1.0*
|
| 229 |
+
**License:** [MIT License](https://opensource.org/licenses/MIT)
|
| 230 |
+
|
| 231 |
+
For inquiries, contact: [souryas2@illinois.edu](mailto:souryas2@illinois.edu)
|
| 232 |
|
|
|
|
|
|
|
| 233 |
"""
|
| 234 |
|
| 235 |
with gr.Blocks(title="CellPhase1.0 - Cell Segmentation Tool") as demo:
|