Paolo-Fraccaro commited on
Commit
f68c941
1 Parent(s): e3fb760

add legend

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -219,14 +219,14 @@ with gr.Blocks() as demo:
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
 
 
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.Image(value='Legend.png', image_mode='RGB', scale=0.2)
230
 
231
  btn.click(fn=func, inputs=inp, outputs=[inp1, inp2, inp3, out])
232