Frontend UI for redo OCR

This commit is contained in:
Michael Shamoon
2022-06-22 05:53:41 -07:00
parent 225dd4a065
commit 2eee52240d
4 changed files with 47 additions and 15 deletions

View File

@@ -118,3 +118,10 @@ def delete(doc_ids):
index.remove_document_by_id(writer, id)
return "OK"
def redo_ocr(doc_ids):
async_task("documents.tasks.redo_ocr", document_ids=doc_ids)
return "OK"