Puyush commited on
Commit
461cbdc
·
verified ·
1 Parent(s): 836bc2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,6 +155,6 @@ def decode_batch_predictions(img_path):
155
 
156
  return output_text
157
 
158
- interface = gr.Interface(fn=decode_batch_predictions, inputs=gr.inputs.Textbox(lines=2, placeholder='Enter image path here.'),
159
  outputs='text',title='Captcha Recognition', theme='darkhuggingface')
160
  interface.launch(inline=False)
 
155
 
156
  return output_text
157
 
158
+ interface = gr.Interface(fn=decode_batch_predictions, inputs='text',
159
  outputs='text',title='Captcha Recognition', theme='darkhuggingface')
160
  interface.launch(inline=False)