Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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)
|