Thiago Hersan commited on
Commit
b905339
1 Parent(s): 8c822b0

adds debug

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,7 +75,7 @@ def query_image(image_path):
75
 
76
  demo = gr.Interface(
77
  title="Maskformer (large-coco)",
78
- description="Use [facebook/maskformer-swin-large-coco](https://huggingface.co/facebook/maskformer-swin-large-coco) model to calculate percentage of pixels in an image that belong to vegetation.",
79
 
80
  fn=query_image,
81
  inputs=[gr.Image(type="filepath", label="Input Image")],
@@ -91,4 +91,4 @@ demo = gr.Interface(
91
  analytics_enabled=None
92
  )
93
 
94
- demo.launch(show_api=False)
 
75
 
76
  demo = gr.Interface(
77
  title="Maskformer (large-coco)",
78
+ description="Using [facebook/maskformer-swin-large-coco](https://huggingface.co/facebook/maskformer-swin-large-coco) model to calculate percentage of pixels in an image that belong to vegetation.",
79
 
80
  fn=query_image,
81
  inputs=[gr.Image(type="filepath", label="Input Image")],
 
91
  analytics_enabled=None
92
  )
93
 
94
+ demo.launch(show_api=False, debug=True)