Unverified Commit 2390b2cf authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix a typo in tag addition (#15286)

* Fix a typo in tag addition

* Put it back again
parent c972433a
...@@ -672,7 +672,7 @@ class TrainingSummary: ...@@ -672,7 +672,7 @@ class TrainingSummary:
tags = ["generated_from_keras_callback"] tags = ["generated_from_keras_callback"]
elif isinstance(tags, str) and tags != "generated_from_keras_callback": elif isinstance(tags, str) and tags != "generated_from_keras_callback":
tags = [tags, "generated_from_keras_callback"] tags = [tags, "generated_from_keras_callback"]
elif "generated_from_trainer" not in tags: elif "generated_from_keras_callback" not in tags:
tags.append("generated_from_keras_callback") tags.append("generated_from_keras_callback")
if keras_history is not None: if keras_history is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment