Skip to content

Commit

Permalink
code-standards
Browse files Browse the repository at this point in the history
  • Loading branch information
yyhhyyyyyy authored Apr 9, 2024
1 parent 198176d commit 255e761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbgpt/model/adapter/old_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def _parse_model_path(model_path: str) -> Tuple[bool, str]:
logger.warn(
f"Model path {model_path} is not single file, use first *gglm*.gguf model file: {model_path}"
)
if not re.fullmatch(".*ggml.*\.gguf", model_path):
if not re.fullmatch(r".*ggml.*\.gguf", model_path):
return False, None
return True, model_path

Expand Down

0 comments on commit 255e761

Please sign in to comment.