heboya8 commited on
Commit
e219441
·
verified ·
1 Parent(s): f4fcaed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -55,7 +55,8 @@ def classify_image(img_path):
55
  pred_text = decode_batch_predictions(preds)
56
  return pred_text[0]
57
 
58
- image = gr.inputs.Image(type='filepath')
 
59
  text = gr.outputs.Textbox()
60
 
61
  iface = gr.Interface(classify_image,image,text,
 
55
  pred_text = decode_batch_predictions(preds)
56
  return pred_text[0]
57
 
58
+ image = gr.Image(type='filepath')
59
+
60
  text = gr.outputs.Textbox()
61
 
62
  iface = gr.Interface(classify_image,image,text,