Paolo-Fraccaro
commited on
Commit
•
e7dc62d
1
Parent(s):
aed7a63
change legend scale
Browse files
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.Image(value='Legend.png', image_mode='RGB', scale=0.
|
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.1)
|
230 |
|
231 |
btn.click(fn=func, inputs=inp, outputs=[inp1, inp2, inp3, out])
|
232 |
|