sharathprasaath commited on
Commit
18ac803
·
1 Parent(s): b9143a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def classify(img):
11
  pred,idx,prob=learn.predict(img)
12
  return dict(zip(categories,map(float,prob)))
13
  image=gr.inputs.Image(shape=(192,192))
14
- label=gr.outputs.label()
15
  examples = ["man.jpg", "woman.jpg"]
16
  intf = gr.Interface(fn=classify, inputs=image,
17
  outputs=label, examples=examples, title="Man or Woman !!!")
 
11
  pred,idx,prob=learn.predict(img)
12
  return dict(zip(categories,map(float,prob)))
13
  image=gr.inputs.Image(shape=(192,192))
14
+ label=gr.outputs.Label()
15
  examples = ["man.jpg", "woman.jpg"]
16
  intf = gr.Interface(fn=classify, inputs=image,
17
  outputs=label, examples=examples, title="Man or Woman !!!")