vuminhtue commited on
Commit
8584cd9
·
verified ·
1 Parent(s): 502a56f

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -33,7 +33,7 @@ class SentimentClassifier:
33
  config_path = self.model_dir / "config.json"
34
 
35
  # Load configuration
36
- with open(self.model_dir / "config.json", 'r') as f:
37
  self.config = json.load(f)
38
 
39
  # Convert dtype
 
33
  config_path = self.model_dir / "config.json"
34
 
35
  # Load configuration
36
+ with open("config.json", 'r') as f:
37
  self.config = json.load(f)
38
 
39
  # Convert dtype