Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
|
| 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,
|