Skip to content

Instantly share code, notes, and snippets.

View markgukov's full-sized avatar
🎯
Focusing

Mark Gukov markgukov

🎯
Focusing
View GitHub Profile
@markgukov
markgukov / fast_speech_text_speech.py
Created February 16, 2024 04:44 — 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