Update module_ocr.py
Browse files- module_ocr.py +2 -2
module_ocr.py
CHANGED
@@ -176,8 +176,8 @@ with gr.Blocks() as demo:
|
|
176 |
outputs=[output_text, output_file]
|
177 |
).then(
|
178 |
update_visibility,
|
179 |
-
inputs=
|
180 |
-
outputs=
|
181 |
)
|
182 |
clear_btn.click(
|
183 |
fn=lambda : (None, '', None),
|
|
|
176 |
outputs=[output_text, output_file]
|
177 |
).then(
|
178 |
update_visibility,
|
179 |
+
inputs=output_file,
|
180 |
+
outputs=output_file
|
181 |
)
|
182 |
clear_btn.click(
|
183 |
fn=lambda : (None, '', None),
|