Spaces:
Sleeping
Sleeping
Nunzio commited on
Commit ·
62e5fdd
1
Parent(s): c924f71
new check
Browse files
app.py
CHANGED
|
@@ -81,7 +81,10 @@ with gr.Blocks(title="Semantic Segmentation Predictors") as demo:
|
|
| 81 |
legend = legendHandling()
|
| 82 |
for i in range(0, len(legend), 2):
|
| 83 |
with gr.Row():
|
| 84 |
-
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
with gr.Row():
|
| 87 |
gr.Markdown("## Preloaded images to be used for testing the model")
|
|
|
|
| 81 |
legend = legendHandling()
|
| 82 |
for i in range(0, len(legend), 2):
|
| 83 |
with gr.Row():
|
| 84 |
+
if i + 1 < len(legend):
|
| 85 |
+
gr.Markdown(f"**{legend[i][1]}** → {legend[i][2]} \t\t\t **{legend[i+1][1]}** → {legend[i+1][2]}")
|
| 86 |
+
else:
|
| 87 |
+
gr.Markdown(f"**{legend[i][1]}** → {legend[i][2]}")
|
| 88 |
|
| 89 |
with gr.Row():
|
| 90 |
gr.Markdown("## Preloaded images to be used for testing the model")
|