Spaces:
Runtime error
Runtime error
linjieccc
commited on
Commit
·
e86eadd
1
Parent(s):
c80711f
Update app.py
Browse files
app.py
CHANGED
@@ -477,12 +477,6 @@ with gr.Blocks(css=CSS) as demo:
|
|
477 |
outputs=[image, output, output_text],
|
478 |
)
|
479 |
|
480 |
-
ocr_lang.change(
|
481 |
-
fn=process_prompt,
|
482 |
-
inputs=[prompt, document, ocr_lang],
|
483 |
-
outputs=[image, output, output_text],
|
484 |
-
)
|
485 |
-
|
486 |
example_image.change(
|
487 |
fn=load_example_document,
|
488 |
inputs=[example_image, example_prompt, ocr_lang],
|
|
|
477 |
outputs=[image, output, output_text],
|
478 |
)
|
479 |
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
example_image.change(
|
481 |
fn=load_example_document,
|
482 |
inputs=[example_image, example_prompt, ocr_lang],
|