Update inference.py
Browse files- 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(
|
| 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
|