Update app.py
Browse files
app.py
CHANGED
|
@@ -88,6 +88,7 @@ class model:
|
|
| 88 |
base_class = model()
|
| 89 |
|
| 90 |
with gr.Blocks(theme='gradio/soft') as demo:
|
|
|
|
| 91 |
gr.Markdown("Select the prediction model. **Note the first run may take ~1-2 minutes, but will take 2-3 seconds afterwards.**")
|
| 92 |
gr.Markdown(
|
| 93 |
"```CELL-E_2_HPA_480``` is a good general purpose model for various cell types using ICC-IF."
|
|
@@ -126,6 +127,9 @@ with gr.Blocks(theme='gradio/soft') as demo:
|
|
| 126 |
|
| 127 |
protein_image = gr.Image(type="pil", label="Protein Image (Optional)")
|
| 128 |
|
|
|
|
|
|
|
|
|
|
| 129 |
with gr.Row():
|
| 130 |
gr.Markdown("Image predictions are show below.")
|
| 131 |
|
|
|
|
| 88 |
base_class = model()
|
| 89 |
|
| 90 |
with gr.Blocks(theme='gradio/soft') as demo:
|
| 91 |
+
gr.Markdown("## Inputs")
|
| 92 |
gr.Markdown("Select the prediction model. **Note the first run may take ~1-2 minutes, but will take 2-3 seconds afterwards.**")
|
| 93 |
gr.Markdown(
|
| 94 |
"```CELL-E_2_HPA_480``` is a good general purpose model for various cell types using ICC-IF."
|
|
|
|
| 127 |
|
| 128 |
protein_image = gr.Image(type="pil", label="Protein Image (Optional)")
|
| 129 |
|
| 130 |
+
with gr.Row():
|
| 131 |
+
gr.Markdown("## Outputs")
|
| 132 |
+
|
| 133 |
with gr.Row():
|
| 134 |
gr.Markdown("Image predictions are show below.")
|
| 135 |
|