Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ gr.Interface(
|
|
| 122 |
).launch(debug=True, share=True)
|
| 123 |
|
| 124 |
tab1 = gr.Interface(
|
| 125 |
-
fn=predict,
|
| 126 |
inputs=gr.Image(label='', type="pil"),
|
| 127 |
outputs=[gr.Image(type="pil"), gr.Image(type="pil")],
|
| 128 |
title='Images with Ground Truth',
|
|
@@ -132,7 +132,7 @@ tab1 = gr.Interface(
|
|
| 132 |
|
| 133 |
# Create the video processing interface
|
| 134 |
tab2 = gr.Interface(
|
| 135 |
-
fn=
|
| 136 |
inputs=gr.File(label=""),
|
| 137 |
outputs=gr.File(label=""),
|
| 138 |
title='Images with Ground Truth',
|
|
|
|
| 122 |
).launch(debug=True, share=True)
|
| 123 |
|
| 124 |
tab1 = gr.Interface(
|
| 125 |
+
fn=[predict, predict],
|
| 126 |
inputs=gr.Image(label='', type="pil"),
|
| 127 |
outputs=[gr.Image(type="pil"), gr.Image(type="pil")],
|
| 128 |
title='Images with Ground Truth',
|
|
|
|
| 132 |
|
| 133 |
# Create the video processing interface
|
| 134 |
tab2 = gr.Interface(
|
| 135 |
+
fn=predict,
|
| 136 |
inputs=gr.File(label=""),
|
| 137 |
outputs=gr.File(label=""),
|
| 138 |
title='Images with Ground Truth',
|