From 2fce4981626ba81a73c9776f72b5812699286cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 24 May 2023 22:23:56 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20nio-llm=20as=20poetry=20scrip?= =?UTF-8?q?t=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nio_llm/main.py | 2 +- pyproject.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nio_llm/main.py b/nio_llm/main.py index 348d6ae..6cf0900 100644 --- a/nio_llm/main.py +++ b/nio_llm/main.py @@ -59,9 +59,9 @@ async def _main( device_id: str, username: str, password: str, - room: str, preprompt: str, ggml_path: Path, + room: str, ) -> None: """Run the async main program. diff --git a/pyproject.toml b/pyproject.toml index 693255a..abe1de4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,9 @@ readme = "README.md" repository = "https://github.com/Laurent2916/nio-llm.git" version = "0.1.0" +[tool.poetry.scripts] +nio-llm = "nio_llm.main:main" + [tool.poetry.dependencies] python = "^3.11" click = "^8.1.3"