pvasudev commited on
Commit
ecb4595
1 Parent(s): fcdca85

Add title and description to app

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -13,7 +13,17 @@ def predict(img):
13
  gr.Interface(
14
  fn=predict,
15
  inputs=gr.inputs.Image(shape=(512, 512)),
16
- outputs=gr.outputs.Label(num_top_classes=3)
 
 
 
 
 
 
 
 
 
 
17
  ).launch()
18
 
19
 
 
13
  gr.Interface(
14
  fn=predict,
15
  inputs=gr.inputs.Image(shape=(512, 512)),
16
+ outputs=gr.outputs.Label(num_top_classes=3),
17
+ examples=[
18
+ "zidane_01.jpg",
19
+ "zidane_02.jpg",
20
+ "scholes_01.jpg",
21
+ "scholes_02.jpg",
22
+ "mbappe_01.jpg",
23
+ "mbappe_02.jpg"
24
+ ],
25
+ title="A simple app to differentiate pictures of three amazing footballers",
26
+ description="Classify a picture of a footballer being either Kylian Mbappe, Zinedine Zidane, or Paul Scholes"
27
  ).launch()
28
 
29