Update app.py
Browse files
app.py
CHANGED
|
@@ -112,14 +112,14 @@ def predict(image):
|
|
| 112 |
|
| 113 |
sample_images = get_sample_images('example_images')
|
| 114 |
|
| 115 |
-
# Launch Gradio Interface
|
| 116 |
-
gr.Interface(
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
).launch(debug=True, share=True)
|
| 123 |
|
| 124 |
tab1 = gr.Interface(
|
| 125 |
fn=[predict, predict],
|
|
|
|
| 112 |
|
| 113 |
sample_images = get_sample_images('example_images')
|
| 114 |
|
| 115 |
+
# Launch Gradio Interface (Single Tab interface)
|
| 116 |
+
# gr.Interface(
|
| 117 |
+
# predict,
|
| 118 |
+
# title='Land Cover Segmentation',
|
| 119 |
+
# inputs=[gr.Image()],
|
| 120 |
+
# outputs=[gr.Image()],
|
| 121 |
+
# examples=sample_images
|
| 122 |
+
# ).launch(debug=True, share=True)
|
| 123 |
|
| 124 |
tab1 = gr.Interface(
|
| 125 |
fn=[predict, predict],
|