svjack commited on
Commit
bfc3012
·
1 Parent(s): 1a79a25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ def pred_func(img):
10
  if type(out) == type({}):
11
  return out["spiga_seg"]
12
 
13
- gr=gradio.Interface(fn=pred_func, inputs=['image',],
14
- outputs=[gradio.Image(label='output').style(height=512)],
15
  examples=example_sample if example_sample else None,
16
  )
17
  gr.launch(share=False)
 
10
  if type(out) == type({}):
11
  return out["spiga_seg"]
12
 
13
+ gr=gr.Interface(fn=pred_func, inputs=['image',],
14
+ outputs=[gr.Image(label='output').style(height=512)],
15
  examples=example_sample if example_sample else None,
16
  )
17
  gr.launch(share=False)