Fix issue probably-meant-fstring found at https://codereview.doctor (#1532)

This commit is contained in:
code-review-doctor
2022-05-07 13:33:40 +02:00
committed by GitHub
parent a34076af35
commit fa887ef5f9
+1 -1
View File
@@ -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.")