artificialguybr commited on
Commit
566b74c
·
verified ·
1 Parent(s): 5fe2379

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as app:
42
  ocr_output_image = gr.Image(label="OCR Output Image", type="pil", interactive=False)
43
  ocr_text_output = gr.TextArea(label="Recognized Text")
44
 
45
- ocr_run_button.click(fn=ocr_function, inputs=[ocr_input_image, ocr_language_selector], outputs=[ocr_output_image, ocr_text_output])
46
 
47
 
48
  with gr.Tab("Detecção de Linhas de Texto"):
 
42
  ocr_output_image = gr.Image(label="OCR Output Image", type="pil", interactive=False)
43
  ocr_text_output = gr.TextArea(label="Recognized Text")
44
 
45
+ ocr_run_button.click(fn=ocr_function, inputs=[ocr_input_image, ocr_language_selector[0]], outputs=[ocr_output_image, ocr_text_output])
46
 
47
 
48
  with gr.Tab("Detecção de Linhas de Texto"):