From 805d7d35e8436d0684ae9bf568a03c2f945fadd9 Mon Sep 17 00:00:00 2001 From: mrq Date: Mon, 22 May 2023 17:36:28 +0000 Subject: [PATCH] the power of a separate setup for testing --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index 6c91623..9c2c621 100755 --- a/src/utils.py +++ b/src/utils.py @@ -3477,7 +3477,7 @@ def update_autoregressive_model(autoregressive_model_path): if autoregressive_model_path == "auto": autoregressive_model_path = deduce_autoregressive_model() - else + else: match = re.findall(r'^\[[a-fA-F0-9]{8}\] (.+?)$', autoregressive_model_path) if match: autoregressive_model_path = match[0]