Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 485562b58e0aa40df0d2b502a6a70a0eac497020
  • Loading branch information
johntmyers committed Jun 24, 2022
1 parent fbcbfea commit 9d5173b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gretel_synthetics/tokenizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ def _load_settings_dict(self):
params_file = Path(self._model_dir) / self.settings_fname
if not params_file.is_file():
self.settings = {}

self.settings = json.loads(params_file.read_text())
else:
self.settings = json.loads(params_file.read_text())

@classmethod
@abstractmethod
Expand Down

0 comments on commit 9d5173b

Please sign in to comment.