abir0 commited on
Commit
0acd18a
·
1 Parent(s): d54e14e

Update parameters

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,9 +52,9 @@ def predict_image(image):
52
 
53
 
54
  image = gr.inputs.Image(shape=(256, 256))
55
- label = gr.outputs.Label()
56
  title = "Charts Classifier"
57
- description = "<p align=center>Classify charts or diagrams of 28 categories</p>"
58
 
59
  iface = gr.Interface(fn=predict_image,
60
  inputs=image,
 
52
 
53
 
54
  image = gr.inputs.Image(shape=(256, 256))
55
+ label = gr.outputs.Label(num_top_classes=5)
56
  title = "Charts Classifier"
57
+ description = "<p align=center>This is a demo to classify charts or diagrams out of 28 categories. Upload or drop any images to see the results.</p>"
58
 
59
  iface = gr.Interface(fn=predict_image,
60
  inputs=image,