import os os.system("apt-get install poppler-utils") os.system("python -m pip install torch") os.system("python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'") os.system("python -m pip install layoutparser layoutparser[layoutmodels] layoutparser[ocr]") os.system("python -m pip install Pillow==9.4.0") os.system("python -m pip install imagehash") from main import app app()