Update app.py
Browse files
app.py
CHANGED
|
@@ -158,8 +158,8 @@ sample_images = get_sample_images('example_images')
|
|
| 158 |
|
| 159 |
tab1 = gr.Interface(
|
| 160 |
fn=predict_on_train,
|
| 161 |
-
inputs=gr.Image(
|
| 162 |
-
outputs=[gr.Image(
|
| 163 |
title='Images with Ground Truth',
|
| 164 |
examples=sample_images
|
| 165 |
)
|
|
@@ -167,8 +167,8 @@ tab1 = gr.Interface(
|
|
| 167 |
# Create the video processing interface
|
| 168 |
tab2 = gr.Interface(
|
| 169 |
fn=predict_on_test,
|
| 170 |
-
inputs=gr.
|
| 171 |
-
outputs=gr.
|
| 172 |
title='Images with Ground Truth',
|
| 173 |
examples=sample_images
|
| 174 |
)
|
|
|
|
| 158 |
|
| 159 |
tab1 = gr.Interface(
|
| 160 |
fn=predict_on_train,
|
| 161 |
+
inputs=gr.Image(),
|
| 162 |
+
outputs=[gr.Image(), gr.Image()],
|
| 163 |
title='Images with Ground Truth',
|
| 164 |
examples=sample_images
|
| 165 |
)
|
|
|
|
| 167 |
# Create the video processing interface
|
| 168 |
tab2 = gr.Interface(
|
| 169 |
fn=predict_on_test,
|
| 170 |
+
inputs=gr.Image(),
|
| 171 |
+
outputs=gr.Image(),
|
| 172 |
title='Images with Ground Truth',
|
| 173 |
examples=sample_images
|
| 174 |
)
|