From 8b75b1e3d17b492e152f65584bdfd7fcf9a8bf3e Mon Sep 17 00:00:00 2001 From: williamfzc <178894043@qq.com> Date: Sat, 6 Jan 2024 23:39:18 +0800 Subject: [PATCH] chore: test --- README.md | 1 + srctag/cli.py | 1 + srctag/model.py | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index d65ee71..2e34301 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Tag source files with real-world stories. + ## What' s it? Based on user-provided tag lists, srctag associates files with relevant tags and provides a measure of relevance by diff --git a/srctag/cli.py b/srctag/cli.py index 29c8b2d..9287c0a 100644 --- a/srctag/cli.py +++ b/srctag/cli.py @@ -22,6 +22,7 @@ def cli(): def prepare(): """ usually used for pre-downloading sentence-transformer models """ + logger.info("Start checking env. It may takes a few minutes for downloading models ...") # try to embed chromadb_cli = chromadb.Client() diff --git a/srctag/model.py b/srctag/model.py index c7e8150..349b5d6 100644 --- a/srctag/model.py +++ b/srctag/model.py @@ -17,5 +17,6 @@ def __init__(self): self.relations = networkx.Graph() + class SrcTagException(BaseException): pass