Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
tabergma committed Jan 2, 2025
1 parent 6aeb9df commit 9a9f29e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion rasa/nlu/classifiers/logistic_regression_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ def persist(self) -> None:
sio.dump(self.clf, path)
logger.debug(f"Saved intent classifier to '{path}'.")


@classmethod
def load(
cls,
Expand Down
4 changes: 3 additions & 1 deletion rasa/utils/tensorflow/feature_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def _serialize_nested_data(
array_metadata["features"],
)

inner_metadata["components"].append(array_metadata) # type:ignore[attr-defined]
inner_metadata["components"].append(
array_metadata
) # type:ignore[attr-defined]

metadata.append(inner_metadata)

Expand Down

0 comments on commit 9a9f29e

Please sign in to comment.