GithubHelp home page GithubHelp logo

egxn / boo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 699 KB

๐Ÿ… Boo wraps tts, sst, llm on a simple REST API to make it easy to use them in local apps. ๐Ÿฏ

Python 45.37% HTML 3.10% CSS 4.51% TypeScript 21.13% Shell 0.47% JavaScript 25.42%

boo's Introduction

๐Ÿฏ Boo

Boo is a local REST API to use ML models in local desktop apps.

Models

You need install each tool following the instructions in the model's repository.

  • ๐Ÿธ Coqui for text to speech
  • ๐Ÿฆ™ Llama for large language models
  • ๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ PaddleOCR for OCR (in progress)
  • ๐Ÿ‘„ Whisper for speech to text

How it works

  • โšก FastAPI for the REST API and websockets.
  • ๐ŸŸฅ Redis for queueing.

Additional requirements are listed in the requirements.txt file.

Server Development

./run.sh

How to use it in your app

  1. Create a new websocket connection to ws://localhost:5000/ws/{client_id}
  2. Consume the API (using the same the client_id).
  3. The tasks are queued using the REST API and the outcome will be sent using the websocket.

Example clients list

Web addon for chapGPT

Adds a button to the right of the <p> tags with the p selected to generate audio from the selected text and a button on the bottom input to transcribe audio to text.

Web addon Parrot

Adds a parrot button at the right of to the <p> tags with the p selected to generate audio from the selected text.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.