Didier commited on
Commit
16fea82
·
verified ·
1 Parent(s): 79e5f54

Update module_ocr.py

Browse files
Files changed (1) hide show
  1. module_ocr.py +5 -5
module_ocr.py CHANGED
@@ -214,11 +214,11 @@ with gr.Blocks() as demo:
214
  """)
215
 
216
  # Update preview when file is uploaded
217
- input_file.change(
218
- fn=preview_file,
219
- inputs=[input_file],
220
- outputs=[preview_image, preview_text]
221
- )
222
 
223
  # Functions
224
  ocr_btn.click(
 
214
  """)
215
 
216
  # Update preview when file is uploaded
217
+ #input_file.change(
218
+ # fn=preview_file,
219
+ # inputs=[input_file],
220
+ # outputs=[preview_image, preview_text]
221
+ #)
222
 
223
  # Functions
224
  ocr_btn.click(