Update app.py
Browse files
app.py
CHANGED
|
@@ -59,10 +59,8 @@ def segment_image(img):
|
|
| 59 |
|
| 60 |
interface = gr.Interface(
|
| 61 |
fn=segment_image,
|
| 62 |
-
inputs=gr.Image(
|
| 63 |
-
outputs=gr.Image(
|
| 64 |
#examples=["color184.jpg","color154.jpg","color180.jpg"],
|
| 65 |
title="Segmentación Semántica con FastAI",
|
| 66 |
-
)
|
| 67 |
-
|
| 68 |
-
interface.launch()
|
|
|
|
| 59 |
|
| 60 |
interface = gr.Interface(
|
| 61 |
fn=segment_image,
|
| 62 |
+
inputs=gr.Image(),
|
| 63 |
+
outputs=gr.Image(),
|
| 64 |
#examples=["color184.jpg","color154.jpg","color180.jpg"],
|
| 65 |
title="Segmentación Semántica con FastAI",
|
| 66 |
+
).launch(share=False)
|
|
|
|
|
|