Pablogps commited on
Commit
61f602a
·
verified ·
1 Parent(s): a6bbeb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ examples = ['spanish', 'french', 'japanese']
24
 
25
  gr.Interface(
26
  fn=predict,
27
- inputs=gr.Image(),
28
  outputs=gr.Label(num_top_classes=3),
29
  title=title,
30
  description=description,
 
24
 
25
  gr.Interface(
26
  fn=predict,
27
+ inputs=gr.Image(type="pil"),
28
  outputs=gr.Label(num_top_classes=3),
29
  title=title,
30
  description=description,