I'm not sure why that happens but it took me 5 good minutes to find the issue when I stupidly copied and paste from the preview into a python file instead of taking from the notebook itself. It would be good to fix it so it doesn't happen to others. 😊
Hi,
I'm not an expert in how Jupyter notebooks work but I noticed that the Donut/CORD/Quick_inference_with_DONUT_for_Document_Parsing.ipynb notebook has a different value on its preview than in the actual code. The line:
becomes:
I'm not sure why that happens but it took me 5 good minutes to find the issue when I stupidly copied and paste from the preview into a python file instead of taking from the notebook itself. It would be good to fix it so it doesn't happen to others. 😊