rbarman commited on
Commit
d062c9e
·
1 Parent(s): 235c93b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ def predict(image):
20
  # setup Gradio interface
21
  title = "Image classifier"
22
  description = "Image classification with pretrained resnet50 model"
23
- #examples = ['elephant.jpg']
24
  interpretation='default'
25
  enable_queue=True
26
 
@@ -30,7 +30,7 @@ gr.Interface(
30
  outputs=gr.outputs.Label(num_top_classes=1),
31
  title=title,
32
  description=description,
33
- #examples=examples,
34
  interpretation=interpretation,
35
  enable_queue=enable_queue
36
  ).launch()
 
20
  # setup Gradio interface
21
  title = "Image classifier"
22
  description = "Image classification with pretrained resnet50 model"
23
+ examples = ['dog.jpg']
24
  interpretation='default'
25
  enable_queue=True
26
 
 
30
  outputs=gr.outputs.Label(num_top_classes=1),
31
  title=title,
32
  description=description,
33
+ examples=examples,
34
  interpretation=interpretation,
35
  enable_queue=enable_queue
36
  ).launch()