From b3545e4b1e3adfdbb1b6512c0cdafd3bd29b8f94 Mon Sep 17 00:00:00 2001 From: Philipp Emanuel Weidmann Date: Sun, 16 Nov 2025 17:35:13 +0530 Subject: [PATCH] Fix retrieving package version --- pyproject.toml | 2 +- src/heretic/main.py | 2 +- src/heretic/utils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ec96afd..fea7673 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "heretic-llm" -version = "1.0.0" +version = "1.0.1" description = "Fully automatic censorship removal for language models" readme = "README.md" license = "AGPL-3.0-or-later" diff --git a/src/heretic/main.py b/src/heretic/main.py index 92b8ee8..f38ea4c 100644 --- a/src/heretic/main.py +++ b/src/heretic/main.py @@ -44,7 +44,7 @@ from .utils import ( def run(): # Modified "Pagga" font from https://budavariam.github.io/asciiart-text/ - print(f"[cyan]█░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀[/] v{version('heretic')}") + print(f"[cyan]█░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀[/] v{version('heretic-llm')}") print("[cyan]█▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░[/]") print( "[cyan]▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀[/] [blue underline]https://github.com/p-e-w/heretic[/]" diff --git a/src/heretic/utils.py b/src/heretic/utils.py index 7439dcc..8e63380 100644 --- a/src/heretic/utils.py +++ b/src/heretic/utils.py @@ -87,7 +87,7 @@ def get_readme_intro( return f"""# This is a decensored version of { model_link - }, made using [Heretic](https://github.com/p-e-w/heretic) v{version("heretic")} + }, made using [Heretic](https://github.com/p-e-w/heretic) v{version("heretic-llm")} ## Abliteration parameters