Here, you can find how to use Pix2struct model to extract information from pdf files.
- Install all the requirements from requirements.txt file. You should pay attention how you install pytorch for running the code on GPUs.
- Set
pdf_path
inmain.py
, and run the file.You should see the answer printed.