tonyassi commited on
Commit
cb37313
·
verified ·
1 Parent(s): c06271c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,5 +7,5 @@ def identify(img):
7
  res = pipe(img)
8
  return res
9
 
10
- demo = gr.Interface(fn=identify, inputs=gr.Image(), outputs="text")
11
  demo.launch()
 
7
  res = pipe(img)
8
  return res
9
 
10
+ demo = gr.Interface(fn=identify, inputs=gr.Image(type='pil'), outputs="text")
11
  demo.launch()