Ammar971 commited on
Commit
c3f4b2d
·
1 Parent(s): 3e5fdde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def predict_image(img):
81
  prediction=model.predict(img_4d)[0]
82
  return {class_names[i]: float(prediction[i]) for i in range(5)}
83
 
84
- image = gr.Image(height=180,width=180)
85
  #label = gr.outputs.Label(num_top_classes=5)
86
  label = gr.Label(num_top_classes=5)
87
  #gr.Interface(fn=predict_image, inputs=image, outputs=label,interpretation='default').launch(debug='True')
 
81
  prediction=model.predict(img_4d)[0]
82
  return {class_names[i]: float(prediction[i]) for i in range(5)}
83
 
84
+ image = gr.Image(height=180,width=180)
85
  #label = gr.outputs.Label(num_top_classes=5)
86
  label = gr.Label(num_top_classes=5)
87
  #gr.Interface(fn=predict_image, inputs=image, outputs=label,interpretation='default').launch(debug='True')