gowtham58 commited on
Commit
281d48d
1 Parent(s): a585d20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def classify_images(img):
12
  pred, idx, prob = learn.predict(img)
13
  return dict(zip(actors, map(float, prob)))
14
 
15
- image = gr.Image(height=192, width= 192)
16
  label = gr.Label()
17
  examples = ['rajini.jpg', 'vijay.jpg', 'raka.jpeg', 'ajith.jpeg']
18
  intf = gr.Interface(fn = classify_images, inputs = image, outputs=label, examples=examples)
 
12
  pred, idx, prob = learn.predict(img)
13
  return dict(zip(actors, map(float, prob)))
14
 
15
+ image = gr.Image()
16
  label = gr.Label()
17
  examples = ['rajini.jpg', 'vijay.jpg', 'raka.jpeg', 'ajith.jpeg']
18
  intf = gr.Interface(fn = classify_images, inputs = image, outputs=label, examples=examples)