diff --git a/src/ptbench/scripts/evaluate.py b/src/ptbench/scripts/evaluate.py
index 3f4c00f6cd9215d8a0ad2c9d6bad7abcd0213162..7f3df261be9da8d8876709075b1d3cb52d8eb4f3 100644
--- a/src/ptbench/scripts/evaluate.py
+++ b/src/ptbench/scripts/evaluate.py
@@ -178,7 +178,7 @@ def evaluate(
         f1_threshold = threshold
         eer_threshold = f1_threshold
     else:
-        raise ValueError("Threshold value is neither an int nor a float")
+        raise ValueError("Threshold value is neither a str or a float")
 
     results_dict = {  # type: ignore
         "pred_data": defaultdict(dict),