Deepak107 commited on
Commit
5a799de
1 Parent(s): 3b16089

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def predict_input_image(img):
10
 
11
 
12
  image = gr.inputs.Image(shape=(224,224))
13
- label = gr.outputs.Label(num_top_classes=len(class_names))
14
 
15
  gr.Interface(fn=predict_input_image, inputs=image, outputs=label,interpretation='default').launch(debug='True')
16
 
 
10
 
11
 
12
  image = gr.inputs.Image(shape=(224,224))
13
+ label = gr.outputs.Label(num_top_classes=1)
14
 
15
  gr.Interface(fn=predict_input_image, inputs=image, outputs=label,interpretation='default').launch(debug='True')
16