Ignaciobfp commited on
Commit
cda4669
·
verified ·
1 Parent(s): ebdfa45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ image_dir = pathlib.Path('images')
24
  examples = [[path.as_posix()] for path in sorted(image_dir.glob('*.png'))]
25
 
26
  iface = gr.Interface(
27
- fnpredict,
28
  inputs=gr.Image(label='Input', type='numpy'),
29
  outputs=gr.Image(label='Output', height=600),
30
  examples=examples,
 
24
  examples = [[path.as_posix()] for path in sorted(image_dir.glob('*.png'))]
25
 
26
  iface = gr.Interface(
27
+ fn=predict,
28
  inputs=gr.Image(label='Input', type='numpy'),
29
  outputs=gr.Image(label='Output', height=600),
30
  examples=examples,