Skip to content

Instantly share code, notes, and snippets.

View davidmoore-io's full-sized avatar

David Moore davidmoore-io

View GitHub Profile
@davidmoore-io
davidmoore-io / fast_speech_text_speech.py
Created February 26, 2024 20:59 — forked from thomwolf/fast_speech_text_speech.py
speech to text to speech
""" To use: install LLM studio (or Ollama), clone OpenVoice, run this script in the OpenVoice directory
git clone https://github.com/myshell-ai/OpenVoice
cd OpenVoice
git clone https://huggingface.co/myshell-ai/OpenVoice
cp -r OpenVoice/* .
pip install whisper pynput pyaudio
"""
from openai import OpenAI
import time