Update app.py
Browse files
app.py
CHANGED
|
@@ -197,7 +197,7 @@ description= '''
|
|
| 197 |
tab1 = gr.Interface(
|
| 198 |
fn=predict_on_train,
|
| 199 |
inputs=[gr.Image(), gr.Image()],
|
| 200 |
-
outputs=[gr.Image(), gr.Image()],
|
| 201 |
title='Images with Ground Truth',
|
| 202 |
description=description,
|
| 203 |
examples=train_images
|
|
@@ -207,7 +207,7 @@ tab1 = gr.Interface(
|
|
| 207 |
tab2 = gr.Interface(
|
| 208 |
fn=predict_on_test,
|
| 209 |
inputs=gr.Image(),
|
| 210 |
-
outputs=gr.Image(),
|
| 211 |
title='Images without Ground Truth',
|
| 212 |
description=description,
|
| 213 |
examples=test_images
|
|
|
|
| 197 |
tab1 = gr.Interface(
|
| 198 |
fn=predict_on_train,
|
| 199 |
inputs=[gr.Image(), gr.Image()],
|
| 200 |
+
outputs=[gr.Image(label='Ground Truth'), gr.Image(label='Predicted')],
|
| 201 |
title='Images with Ground Truth',
|
| 202 |
description=description,
|
| 203 |
examples=train_images
|
|
|
|
| 207 |
tab2 = gr.Interface(
|
| 208 |
fn=predict_on_test,
|
| 209 |
inputs=gr.Image(),
|
| 210 |
+
outputs=gr.Image(label='Predicted'),
|
| 211 |
title='Images without Ground Truth',
|
| 212 |
description=description,
|
| 213 |
examples=test_images
|