Spaces:
Runtime error
Runtime error
Add title and description
Browse files
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|