Puyush commited on
Commit
77c319a
·
verified ·
1 Parent(s): bd6bf57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,6 +153,6 @@ def decode_batch_predictions(input_image):
153
 
154
  return output_text
155
 
156
- interface = gr.Interface(fn=decode_batch_predictions, inputs='text',
157
  outputs='text',title='Captcha Recognition', theme='darkhuggingface')
158
  interface.launch(inline=False)
 
153
 
154
  return output_text
155
 
156
+ interface = gr.Interface(fn=decode_batch_predictions, inputs=gr.Image(label="Input image", type="pil"),
157
  outputs='text',title='Captcha Recognition', theme='darkhuggingface')
158
  interface.launch(inline=False)