Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaxir committed Apr 30, 2018
1 parent 5b7a92c commit f81a51a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion textgenrnn/textgenrnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ def save(self, weights_path="textgenrnn_weights_saved.hdf5"):
self.model.save_weights(weights_path)

def load(self, weights_path):
self.model = textgenrnn_model(self.num_classes, cfg=self.config, weights_path=weights_path)
self.model = textgenrnn_model(self.num_classes,
cfg=self.config,
weights_path=weights_path)

def reset(self):
self.config = self.default_config.copy()
Expand Down

0 comments on commit f81a51a

Please sign in to comment.