From fa887ef5f9be092c57cf31e3e3ed97c191a11258 Mon Sep 17 00:00:00 2001 From: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Date: Sat, 7 May 2022 12:33:40 +0100 Subject: [PATCH] Fix issue probably-meant-fstring found at https://codereview.doctor (#1532) --- TTS/tts/layers/tacotron/attentions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/tts/layers/tacotron/attentions.py b/TTS/tts/layers/tacotron/attentions.py index 8c30a00a..d8a90d72 100644 --- a/TTS/tts/layers/tacotron/attentions.py +++ b/TTS/tts/layers/tacotron/attentions.py @@ -484,4 +484,4 @@ def init_attn( beta=0.9, ) - raise RuntimeError(" [!] Given Attention Type '{attn_type}' is not exist.") + raise RuntimeError(f" [!] Given Attention Type '{attn_type}' is not exist.")