Update app.py
Browse files
app.py
CHANGED
|
@@ -79,12 +79,13 @@ class model:
|
|
| 79 |
base_class = model()
|
| 80 |
|
| 81 |
with gr.Blocks(theme='gradio/soft') as demo:
|
| 82 |
-
gr.Markdown("
|
|
|
|
| 83 |
gr.Markdown(
|
| 84 |
-
"- CELL-E_2_HPA_2560 is a good general purpose model for various cell types using ICC-IF."
|
| 85 |
)
|
| 86 |
gr.Markdown(
|
| 87 |
-
"- CELL-E_2_OpenCell_2560 is trained on OpenCell and is good more live-cell predictions on HEK cells."
|
| 88 |
)
|
| 89 |
with gr.Row():
|
| 90 |
model_name = gr.Dropdown(
|
|
@@ -117,8 +118,10 @@ with gr.Blocks(theme='gradio/soft') as demo:
|
|
| 117 |
image_mode="L",
|
| 118 |
type="pil"
|
| 119 |
)
|
| 120 |
-
|
| 121 |
-
|
|
|
|
|
|
|
| 122 |
with gr.Row().style(equal_height=True):
|
| 123 |
nucleus_crop = gr.Image(
|
| 124 |
label="Nucleus Image (Crop)",
|
|
|
|
| 79 |
base_class = model()
|
| 80 |
|
| 81 |
with gr.Blocks(theme='gradio/soft') as demo:
|
| 82 |
+
gr.Markdown("## Inputs")
|
| 83 |
+
gr.Markdown("Select the prediction model. **Note the first run may take ~5-6 minutes, but will take 3-4 seconds afterwards.**")
|
| 84 |
gr.Markdown(
|
| 85 |
+
"- ```CELL-E_2_HPA_2560``` is a good general purpose model for various cell types using ICC-IF."
|
| 86 |
)
|
| 87 |
gr.Markdown(
|
| 88 |
+
"- ```CELL-E_2_OpenCell_2560``` is trained on OpenCell and is good more live-cell predictions on HEK cells."
|
| 89 |
)
|
| 90 |
with gr.Row():
|
| 91 |
model_name = gr.Dropdown(
|
|
|
|
| 118 |
image_mode="L",
|
| 119 |
type="pil"
|
| 120 |
)
|
| 121 |
+
|
| 122 |
+
with gr.Row():
|
| 123 |
+
gr.Markdown("## Outputs")
|
| 124 |
+
|
| 125 |
with gr.Row().style(equal_height=True):
|
| 126 |
nucleus_crop = gr.Image(
|
| 127 |
label="Nucleus Image (Crop)",
|