muddokon commited on
Commit
0b75f14
verified
1 Parent(s): c1669c3

Update app.py

Browse files

Fixed image input

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,9 +21,9 @@ def recognize_captcha(input, mdl):
21
  iface = gr.Interface(
22
  fn=recognize_captcha,
23
  inputs=[
24
- gr.Image,
25
  gr.Dropdown(
26
- ['anuashok/ocr-captcha-v3','anuashok/ocr-captcha-v2','anuashok/ocr-captcha-v1'], label='Model to use'
27
  )
28
  ],
29
  outputs=['text'],
 
21
  iface = gr.Interface(
22
  fn=recognize_captcha,
23
  inputs=[
24
+ gr.Image(),
25
  gr.Dropdown(
26
+ ['anuashok/ocr-captcha-v3','anuashok/ocr-captcha-v2','anuashok/ocr-captcha-v1','dragonstar/image-text-captcha-v2','chanelcolgate/trocr-base-printed_captcha_ocr'], label='Model to use'
27
  )
28
  ],
29
  outputs=['text'],