Spaces:
Sleeping
Sleeping
fangjiang commited on
Commit ·
68ccde4
1
Parent(s): 89bca80
initial update
Browse files
app.py
CHANGED
|
@@ -355,6 +355,7 @@ custom_css = """
|
|
| 355 |
border-width: 0 !important;
|
| 356 |
}
|
| 357 |
hr {
|
|
|
|
| 358 |
padding-bottom: 10px !important;
|
| 359 |
}
|
| 360 |
.input-choices {
|
|
@@ -424,7 +425,7 @@ with gr.Blocks() as demo:
|
|
| 424 |
|
| 425 |
# img_viz = gr.Plot(label="Visualization of individual channels")
|
| 426 |
gr.Markdown('<br>')
|
| 427 |
-
gr.Markdown('<div class="h-1">Step 2. Modify
|
| 428 |
gr.Markdown('<div class="h-2">(Required) Define channels designed to visualize nuclei. </div>')
|
| 429 |
gr.Markdown('<div class="h-2">(Optional) Remove unwanted channel after visualizing the individual channels. </div>')
|
| 430 |
gr.Markdown('<div class="h-2">(Optional) Define channels degisned to visualize membranes.</div>')
|
|
@@ -455,9 +456,8 @@ with gr.Blocks() as demo:
|
|
| 455 |
define_btn.click(fn=modify_channels, inputs=[cytof_original_state, selected_unwanted_channel, selected_nuclei, selected_membrane], outputs=[channel_feedback, cytof_state])
|
| 456 |
|
| 457 |
gr.Markdown('<br>')
|
| 458 |
-
gr.Markdown('<div class="h-1">Step 3. Perform
|
| 459 |
-
|
| 460 |
-
|
| 461 |
with gr.Row(): # This row defines cell radius and performs segmentation
|
| 462 |
with gr.Column(scale=2):
|
| 463 |
gr.Markdown('<div class="h-2">Cell Size:</div>')
|
|
|
|
| 355 |
border-width: 0 !important;
|
| 356 |
}
|
| 357 |
hr {
|
| 358 |
+
margin: 2rem 0 0 0 !important;
|
| 359 |
padding-bottom: 10px !important;
|
| 360 |
}
|
| 361 |
.input-choices {
|
|
|
|
| 425 |
|
| 426 |
# img_viz = gr.Plot(label="Visualization of individual channels")
|
| 427 |
gr.Markdown('<br>')
|
| 428 |
+
gr.Markdown('<div class="h-1">Step 2. Modify Existing Channels</div>')
|
| 429 |
gr.Markdown('<div class="h-2">(Required) Define channels designed to visualize nuclei. </div>')
|
| 430 |
gr.Markdown('<div class="h-2">(Optional) Remove unwanted channel after visualizing the individual channels. </div>')
|
| 431 |
gr.Markdown('<div class="h-2">(Optional) Define channels degisned to visualize membranes.</div>')
|
|
|
|
| 456 |
define_btn.click(fn=modify_channels, inputs=[cytof_original_state, selected_unwanted_channel, selected_nuclei, selected_membrane], outputs=[channel_feedback, cytof_state])
|
| 457 |
|
| 458 |
gr.Markdown('<br>')
|
| 459 |
+
gr.Markdown('<div class="h-1">Step 3. Perform Cell Segmentation</div>')
|
| 460 |
+
gr.Markdown('<div class="h-2">In this step, we perform cell segmentation based on the defined nuclei and membrane channels</div>')
|
|
|
|
| 461 |
with gr.Row(): # This row defines cell radius and performs segmentation
|
| 462 |
with gr.Column(scale=2):
|
| 463 |
gr.Markdown('<div class="h-2">Cell Size:</div>')
|