suddu21 commited on
Commit
a580279
β€’
1 Parent(s): 4ddadc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -18,6 +18,7 @@ def predict_image(img):
18
  prediction=model.predict(img_4d)[0]
19
  return {classnames[i]: float(prediction[i]) for i in range(len(classnames))}
20
 
 
21
  #Gradio interface
22
  image = gr.inputs.Image(shape=(224, 224))
23
  label = gr.outputs.Label(num_top_classes=3)
 
18
  prediction=model.predict(img_4d)[0]
19
  return {classnames[i]: float(prediction[i]) for i in range(len(classnames))}
20
 
21
+
22
  #Gradio interface
23
  image = gr.inputs.Image(shape=(224, 224))
24
  label = gr.outputs.Label(num_top_classes=3)