Spaces:
Sleeping
Sleeping
Commit
·
fdab27d
1
Parent(s):
3830e2f
add legend
Browse files- Legend.png +0 -0
- app.py +5 -0
Legend.png
CHANGED
|
|
app.py
CHANGED
|
@@ -252,6 +252,11 @@ with gr.Blocks() as demo:
|
|
| 252 |
|
| 253 |
btn.click(fn=func, inputs=inp, outputs=[inp1, inp2, inp3, out])
|
| 254 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
with gr.Row():
|
| 256 |
gr.Examples(examples=["chip_102_345_merged.tif",
|
| 257 |
"chip_104_104_merged.tif",
|
|
|
|
| 252 |
|
| 253 |
btn.click(fn=func, inputs=inp, outputs=[inp1, inp2, inp3, out])
|
| 254 |
|
| 255 |
+
with gr.Row():
|
| 256 |
+
gr.Markdown(value='### Model prediction legend')
|
| 257 |
+
with gr.Row():
|
| 258 |
+
gr.Image(value='Legend.png', image_mode='RGB', scale=0.5, show_label=False)
|
| 259 |
+
|
| 260 |
with gr.Row():
|
| 261 |
gr.Examples(examples=["chip_102_345_merged.tif",
|
| 262 |
"chip_104_104_merged.tif",
|