0-ma commited on
Commit
99f5190
1 Parent(s): 1174106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def predict(img):
35
 
36
  title = "Geometric Shape Classifier"
37
  description = "A geometric shape setector."
38
- examples = ['A.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(num_top_classes=3),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
 
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()