Commit 575258b8 authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Be nice when executing PERO OCR

parent dad0031e
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ def run_pero_ocr(client, preprocessing_volume, pero_ocr_volume, gpus: str) -> No
    }

    command = [
        'nice', '-n', f'{CONFIG.getint("niceness")}',
        'python', 'user_scripts/parse_folder.py', '-i', '/input',
        '--output-xml-path', '/output', '-c', 'config.ini',
    ]