thewillofdee commited on
Commit
a576d1b
·
1 Parent(s): e7f63c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -10,4 +10,8 @@ def predict(img):
10
  img = PILImage.create(img)
11
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
12
 
 
 
 
 
13
  gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3)).launch()
 
10
  img = PILImage.create(img)
11
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
12
 
13
+ title = "Pet Breed classifier"
14
+ description = "A pet breed classifier trained on the Oxford Pets dataset with fastai."
15
+ enable_queue=True
16
+
17
  gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3)).launch()