From f1131b4836ff78a66ae03abaa1be188ea576fe0e Mon Sep 17 00:00:00 2001 From: remsky Date: Thu, 2 Jan 2025 20:27:12 -0700 Subject: [PATCH] Update GitHub Actions workflow and README for Docker publishing and new badge --- .github/workflows/docker-publish.yml | 10 ++++++++++ README.md | 7 +++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9764576..ec5a1ba 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -4,8 +4,18 @@ on: push: branches: [ "master" ] tags: [ 'v*.*.*' ] + paths: + - '**.py' + - '**/Dockerfile*' + - '**/docker-compose*.yml' + - 'requirements*.txt' pull_request: branches: [ "master" ] + paths: + - '**.py' + - '**/Dockerfile*' + - '**/docker-compose*.yml' + - 'requirements*.txt' # Allow manual trigger from GitHub UI workflow_dispatch: diff --git a/README.md b/README.md index ff794f6..9732bd6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # Kokoro TTS API [![Tests](https://img.shields.io/badge/tests-89%20passed-darkgreen)]() [![Coverage](https://img.shields.io/badge/coverage-80%25-darkgreen)]() -[![Tested at Model Commit](https://img.shields.io/badge/last--tested--model--commit-a67f113-blue)](https://huggingface.co/hexgrad/Kokoro-82M/tree/c3b0d86e2a980e027ef71c28819ea02e351c2667) +[![Tested at Model Commit](https://img.shields.io/badge/last--tested--model--commit-a67f113-blue)](https://huggingface.co/hexgrad/Kokoro-82M/tree/c3b0d86e2a980e027ef71c28819ea02e351c2667) [![Try on Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Try%20on-Spaces-blue)](https://huggingface.co/spaces/Remsky/Kokoro-TTS-Zero) Dockerized FastAPI wrapper for [Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M) text-to-speech model - OpenAI-compatible Speech endpoint, with voice combination functionality @@ -14,6 +14,8 @@ Dockerized FastAPI wrapper for [Kokoro-82M](https://huggingface.co/hexgrad/Kokor - automatic chunking/stitching for long texts - simple audio generation web ui utility + + ## Quick Start The service can be accessed through either the API endpoints or the Gradio web interface. @@ -222,6 +224,3 @@ This project is licensed under the Apache License 2.0 - see below for details: The full Apache 2.0 license text can be found at: https://www.apache.org/licenses/LICENSE-2.0 - - -