Elegbede commited on
Commit
bd97a52
1 Parent(s): 11d1b1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def predict_input_image(img):
19
  # Define Gradio interface
20
  iface = gr.Interface(
21
  fn=predict_input_image,
22
- inputs="image",
23
  outputs="text",
24
  )
25
 
 
19
  # Define Gradio interface
20
  iface = gr.Interface(
21
  fn=predict_input_image,
22
+ inputs=gr.Image(type = 'pil'),
23
  outputs="text",
24
  )
25