Spaces:
Running
Running
Commit
·
7e333d1
1
Parent(s):
1c10827
Add application file
Browse files- app_blocks.py +1 -1
app_blocks.py
CHANGED
@@ -30,7 +30,7 @@ with gr.Blocks(title=title) as demo:
|
|
30 |
with gr.Column():
|
31 |
text = gr.Textbox(label="Output")
|
32 |
|
33 |
-
btn_submit.click(tesseract_ocr, inputs=[image, languages], outputs=text)
|
34 |
btn_clear.add(text)
|
35 |
|
36 |
gr.Examples(
|
|
|
30 |
with gr.Column():
|
31 |
text = gr.Textbox(label="Output")
|
32 |
|
33 |
+
btn_submit.click(tesseract_ocr, inputs=[image, languages], outputs=text, api_name="tesseract-ocr")
|
34 |
btn_clear.add(text)
|
35 |
|
36 |
gr.Examples(
|