ModuleNotFoundError Traceback (most recent call last)
Cell In[5], line 2
1 from PIL import Image, ImageDraw, ImageFont
----> 2 from trocr.src.main import TrocrPredictor
File c:\Users\ranas\Documents\ML\OCR Based PDF Reader\trocr\src\__init__.py:1
----> 1 from .main import TrocrPredictor
3 # expose the TrocrPredictor interface to other models
4 __all__ = ["TrocrPredictor"]
File c:\Users\ranas\Documents\ML\OCR Based PDF Reader\trocr\src\main.py:2
1 from PIL import Image
----> 2 from torch.utils.data import DataLoader
4 from .configs import paths
5 from .configs import constants
ModuleNotFoundError: No module named 'torch'