From 6f5cb5d7d56fb8942e6c0e0e197cc1edd151309b Mon Sep 17 00:00:00 2001 From: Zander Lewis Date: Wed, 29 May 2024 10:45:28 -0400 Subject: [PATCH] Fix version issue --- llamascript/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/llamascript/__init__.py b/llamascript/__init__.py index 75b7432..0a29815 100644 --- a/llamascript/__init__.py +++ b/llamascript/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.6.3" +__version__ = "0.6.4" import asyncio import ollama @@ -180,10 +180,6 @@ def run(): args = parser.parse_args() - if args.version: - print(f"llamascript version {__version__}") - sys.exit(0) - if not (args.file_name.endswith(".llama") or args.file_name == "llama"): logging.error("Invalid file type. Please provide a .llama or llama file.") print("Invalid file type. Please provide a .llama or llama file.")