Paolo-Fraccaro
commited on
Commit
•
a0cd936
1
Parent(s):
1731256
add legend
Browse files- Legend.png +0 -0
- app.py +2 -0
Legend.png
ADDED
app.py
CHANGED
@@ -219,12 +219,14 @@ with gr.Blocks() as demo:
|
|
219 |
gr.Markdown(value='### T2')
|
220 |
gr.Markdown(value='### T3')
|
221 |
gr.Markdown(value='### Model prediction')
|
|
|
222 |
|
223 |
with gr.Row():
|
224 |
inp1=gr.Image(image_mode='RGB')
|
225 |
inp2=gr.Image(image_mode='RGB')
|
226 |
inp3=gr.Image(image_mode='RGB')
|
227 |
out = gr.Image(image_mode='L')
|
|
|
228 |
|
229 |
btn.click(fn=func, inputs=inp, outputs=[inp1, inp2, inp3, out])
|
230 |
|
|
|
219 |
gr.Markdown(value='### T2')
|
220 |
gr.Markdown(value='### T3')
|
221 |
gr.Markdown(value='### Model prediction')
|
222 |
+
gr.Markdown(value='### Legend')
|
223 |
|
224 |
with gr.Row():
|
225 |
inp1=gr.Image(image_mode='RGB')
|
226 |
inp2=gr.Image(image_mode='RGB')
|
227 |
inp3=gr.Image(image_mode='RGB')
|
228 |
out = gr.Image(image_mode='L')
|
229 |
+
gr.Markdown(value='''![][Legend.png]''')
|
230 |
|
231 |
btn.click(fn=func, inputs=inp, outputs=[inp1, inp2, inp3, out])
|
232 |
|