From caf5fc35b8f263c70963956daa999c1290699b63 Mon Sep 17 00:00:00 2001 From: brian khuu Date: Mon, 13 May 2024 11:30:48 +1000 Subject: [PATCH] convert.py: don't stringify Metadata load method output --- convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.py b/convert.py index afa12db1f..319670a14 100755 --- a/convert.py +++ b/convert.py @@ -353,7 +353,7 @@ class Metadata: source_hf_repo: Optional[str] = None @staticmethod - def load(metadata_path: Path) -> "Metadata": + def load(metadata_path: Path) -> Metadata: if metadata_path is None or not metadata_path.exists(): return Metadata()