Dharma20 commited on
Commit
4cd8d5c
·
verified ·
1 Parent(s): e979024

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def classify_image(img):
15
  # %% ../hugging-space-model-app.ipynb 11
16
  image = gr.components.Image()
17
  label = gr.components.Label(show_label=True,num_top_classes=3)
18
- examples = ['afraid.jpg','anger.jpg','happyface.jpg','disgust.jpg','sadface.webp']
19
 
20
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
21
  intf.launch(inline=False)
 
15
  # %% ../hugging-space-model-app.ipynb 11
16
  image = gr.components.Image()
17
  label = gr.components.Label(show_label=True,num_top_classes=3)
18
+ examples = ['afraid.jpg','anger.jpg','happyface.jpg','disgust.jpg','sadface.webp','neutral.webp']
19
 
20
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
21
  intf.launch(inline=False)