joortif commited on
Commit
f462b26
verified
1 Parent(s): c745479

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -59,10 +59,8 @@ def segment_image(img):
59
 
60
  interface = gr.Interface(
61
  fn=segment_image,
62
- inputs=gr.Image(type="pil"),
63
- outputs=gr.Image(type="numpy"),
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)