amoghv commited on
Commit
02d8da5
1 Parent(s): 8e2414f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def classify_image (image):
11
  pred,idx,prob = learn.predict(image)
12
  return dict(zip(categories, map(float, probs)))
13
 
14
- input_image = gradio.inputs(Image(shape=(192, 192)))
15
  labels = gradio.outputs.Label()
16
 
17
  intf = gradio.Interface(fn = classify_image, inputs = input_image, outputs = labels)
 
11
  pred,idx,prob = learn.predict(image)
12
  return dict(zip(categories, map(float, probs)))
13
 
14
+ input_image = gradio.inputs.Image(shape=(192, 192))
15
  labels = gradio.outputs.Label()
16
 
17
  intf = gradio.Interface(fn = classify_image, inputs = input_image, outputs = labels)