From bf68bd3aee2a99c877aeaa62e1c61b1c57423e51 Mon Sep 17 00:00:00 2001 From: chainyo Date: Fri, 5 May 2023 11:34:50 +0000 Subject: [PATCH 1/2] bump version 0.1.0 -> 0.2.0 --- .env | 2 +- pyproject.toml | 2 +- wordcab_transcribe/config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index dd402ce..d49c940 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ PROJECT_NAME="Wordcab Transcribe" -VERSION="0.1.0" +VERSION="0.2.0" DESCRIPTION="💬 ASR FastAPI server using faster-whisper and NVIDIA NeMo." API_PREFIX="/api/v1" DEBUG=True diff --git a/pyproject.toml b/pyproject.toml index 720a9a9..878d511 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "wordcab-transcribe" -version = "0.1.0" +version = "0.2.0" description = "ASR FastAPI server using faster-whisper and pyannote-audio." authors = ["Wordcab "] readme = "README.md" diff --git a/wordcab_transcribe/config.py b/wordcab_transcribe/config.py index eeb9f11..6569b05 100644 --- a/wordcab_transcribe/config.py +++ b/wordcab_transcribe/config.py @@ -92,7 +92,7 @@ def nemo_domain_type_must_be_valid(cls, value: str): # noqa: B902, N805 settings = Settings( project_name=getenv("PROJECT_NAME", "Wordcab Transcribe"), - version=getenv("VERSION", "0.1.0"), + version=getenv("VERSION", "0.2.0"), description=getenv( "DESCRIPTION", "💬 ASR FastAPI server using faster-whisper and NVIDIA NeMo." ), From a2433aefdd9d7bd3f72ebf48952ebdb212c45edd Mon Sep 17 00:00:00 2001 From: chainyo Date: Wed, 10 May 2023 13:50:51 +0000 Subject: [PATCH 2/2] Fix v2 tests --- tests/test_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_config.py b/tests/test_config.py index 80fd737..4d1017a 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -19,7 +19,7 @@ def test_config() -> None: """Test default config settings with the .env file.""" assert settings.project_name == "Wordcab Transcribe" - assert settings.version == "0.1.0" + assert settings.version == "0.2.0" assert ( settings.description == "💬 ASR FastAPI server using faster-whisper and NVIDIA NeMo."