ghmark675
Committed by 666ghj

fix(sentiment_analyzer): streamlit and torch conflict

@@ -13,6 +13,7 @@ try: @@ -13,6 +13,7 @@ try:
13 import torch 13 import torch
14 14
15 TORCH_AVAILABLE = True 15 TORCH_AVAILABLE = True
  16 + torch.classes.__path__ = []
16 except ImportError: 17 except ImportError:
17 torch = None # type: ignore 18 torch = None # type: ignore
18 TORCH_AVAILABLE = False 19 TORCH_AVAILABLE = False