bwbai commited on
Commit
d9286d1
·
1 Parent(s): 9c62de8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def custom_chat(user_input):
35
  return chat_reply
36
 
37
  def dothis(file):
38
- if __name__ == '__main__': # To ensure correct behavior on Windows and macOS
39
- out = ocrmypdf.ocr( file,
40
  'output.pdf',
41
  deskew=True,
42
  force_ocr=True,
 
35
  return chat_reply
36
 
37
  def dothis(file):
38
+ # if __name__ == '__main__': # To ensure correct behavior on Windows and macOS
39
+ out = ocrmypdf.ocr( file,
40
  'output.pdf',
41
  deskew=True,
42
  force_ocr=True,