PolarisFTL commited on
Commit
90060a7
·
verified ·
1 Parent(s): 4fa071a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,8 +50,8 @@ def predict(image):
50
  # Define the Gradio interface
51
  gr.Interface(
52
  fn=predict,
53
- inputs=gr.inputs.Image(label="Input image", type="pil"),
54
- outputs=gr.outputs.Image(label="Output image with predicted instances", type="pil"),
55
  examples=['img/1.png', 'img/2.png'],
56
  title="MASFNet Object Detection",
57
  theme="default",
 
50
  # Define the Gradio interface
51
  gr.Interface(
52
  fn=predict,
53
+ inputs=gr.Image(label="Input image", type="pil"),
54
+ outputs=gr.Image(label="Output image with predicted instances", type="pil"),
55
  examples=['img/1.png', 'img/2.png'],
56
  title="MASFNet Object Detection",
57
  theme="default",