Shad0ws commited on
Commit
9ac58e0
·
1 Parent(s): 317f1ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,5 +10,5 @@ def image_classifier(image):
10
  results[result['label']] = result['score']
11
  return results
12
 
13
- demo = gr.Interface(fn=image_classifier, inputs=gr.Image(type="pil"), outputs="label")
14
  demo.launch()
 
10
  results[result['label']] = result['score']
11
  return results
12
 
13
+ demo = gr.Interface(fn=image_classifier, title = "Interface", examples=["Example1.jpg", "Example2.jpg", "Example3.jpg", "Example4.jpg"], inputs=gr.Image(type="pil"), outputs="label")
14
  demo.launch()