Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,8 @@ def predict(img):
|
|
35 |
|
36 |
title = "Geometric Shape Classifier"
|
37 |
description = "A geometric shape setector."
|
38 |
-
examples = ['
|
39 |
interpretation='default'
|
40 |
enable_queue=True
|
41 |
|
42 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(
|
|
|
35 |
|
36 |
title = "Geometric Shape Classifier"
|
37 |
description = "A geometric shape setector."
|
38 |
+
examples = ['example/1_None.jpg','example/2_Circle.jpg','example/3_Triangle.jpg','example/4_Square.jpg','example/5_Pentagone.jpg','example/6_Hexagone.jpg']
|
39 |
interpretation='default'
|
40 |
enable_queue=True
|
41 |
|
42 |
+
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|