asquirous commited on
Commit
62fa1bd
·
1 Parent(s): 17086e3

Add title and description

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -12,5 +12,15 @@ def classify_image(img):
12
  image = gr.inputs.Image(shape=(224, 224))
13
  label = gr.outputs.Label()
14
 
15
- intf = gr.Interface(fn=classify_image, inputs=image, outputs=label)
 
 
 
 
 
 
 
 
 
 
16
  intf.launch(inline=False)
 
12
  image = gr.inputs.Image(shape=(224, 224))
13
  label = gr.outputs.Label()
14
 
15
+ title = "Bicycles Classifier"
16
+ description = "A bicycle classifier that can classify mountain bikes and city/road bikes."
17
+
18
+ intf = gr.Interface(
19
+ fn=classify_image,
20
+ inputs=image,
21
+ outputs=label,
22
+ title=title,
23
+ description=description
24
+ )
25
+
26
  intf.launch(inline=False)