https://github.com/modal-labs/quillman Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} modal-labs / quillman Public * Notifications * Fork 8 * Star 305 License MIT license 305 stars 8 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights modal-labs/quillman This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/m] Use Git or checkout with SVN using the web URL. [gh repo clone modal-] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @aksh-at aksh-at Update README.md ... 16d22bc Apr 22, 2023 Update README.md 16d22bc Git stats * 3 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time src Initial commit April 22, 2023 17:33 .gitignore Initial commit April 22, 2023 17:33 .isort.cfg Initial commit April 22, 2023 17:33 .pre-commit-config.yaml Initial commit April 22, 2023 17:33 LICENSE Initial commit April 22, 2023 17:33 README.md Update README.md April 22, 2023 16:23 View code QuiLLMan: Voice Chat with LLMs File structure Developing locally Requirements Develop on Modal Deploy to Modal README.md QuiLLMan: Voice Chat with LLMs A complete chat app that transcribes audio in real-time, streams back a response from a language model, and synthesizes this response as natural-sounding speech. This repo is meant to serve as a starting point for your own language model-based apps, as well as a playground for experimentation. Contributions are welcome and encouraged! quillman The language model used is Vicuna, and we're planning on adding support for more models soon (requests and contributions welcome). OpenAI Whisper is used for transcription, and Metavoice Tortoise TTS is used for text-to-speech. The entire app, including the frontend, is made to be deployed serverlessly on Modal. You can find the demo live here. [Note: this code is provided for illustration only; please remember to check the license before using any model for commercial purposes.] File structure 1. React frontend (src/frontend/) 2. FastAPI server (src/api.py) 3. Whisper transcription module (src/transcriber.py) 4. Tortoise text-to-speech module (src/tts.py) 5. Vicuna language model module (src/llm_vicuna.py) Read the accompanying docs for a detailed look at each of these components. Developing locally Requirements * modal-client installed in your current Python virtual environment (pip install modal-client) * A Modal account * A Modal token set up in your environment (modal token new) Develop on Modal To serve the app on Modal, run this command from the root directory of this repo: modal serve src.app In the terminal output, you'll find a URL that you can visit to use your app. While the modal serve process is running, changes to any of the project files will be automatically applied. Ctrl+C will stop the app. Deploy to Modal Once you're happy with your changes, deploy your app: modal deploy src.app [Note that leaving the app deployed on Modal doesn't cost you anything! Modal apps are serverless and scale to 0 when not in use.] About No description, website, or topics provided. Resources Readme License MIT license Stars 305 stars Watchers 6 watching Forks 8 forks Report repository Releases No releases published Packages 0 No packages published Languages * JavaScript 59.6% * Python 29.8% * CSS 7.2% * HTML 3.4% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.