Spaces:
Running
Running
Update app.py
Browse filesFixed image input
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'],
|