Skip to content

Commit

Permalink
fix: f-strings missing placeholders.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltbringer committed Sep 3, 2021
1 parent af9adcd commit 977c44a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dialogy/plugins/text/classification/xlmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ def inference(self, texts: List[str]) -> List[Intent]:

if not self.valid_labelencoder:
raise AttributeError(
f"Seems like you forgot to "
"save the {self.__class__.__name__} plugin."
"Seems like you forgot to "
f"save the {self.__class__.__name__} plugin."
)

if not texts:
Expand Down

0 comments on commit 977c44a

Please sign in to comment.