diff --git a/InsightEngine/tools/sentiment_analyzer.py b/InsightEngine/tools/sentiment_analyzer.py index baf683a..aedd979 100644 --- a/InsightEngine/tools/sentiment_analyzer.py +++ b/InsightEngine/tools/sentiment_analyzer.py @@ -13,6 +13,7 @@ try: import torch TORCH_AVAILABLE = True + torch.classes.__path__ = [] except ImportError: torch = None # type: ignore TORCH_AVAILABLE = False