WhisperPlus: A Python library for WhisperPlus API.
Project description
🛠️ Installation
pip install whisperplus
🎙️ Usage
To use the whisperplus library, follow the steps below for different tasks:
🎵 Youtube URL to Audio
from whisperplus import SpeechToTextPipeline, download_and_convert_to_mp3
url = "https://www.youtube.com/watch?v=6Dh-RL__uN4"
video_path = download_and_convert_to_mp3(url)
pipeline = SpeechToTextPipeline()
transcript = pipeline(
audio_path=video_path, model_id="openai/whisper-large-v3", language="turkish"
)
return transcript
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
whisperplus-0.0.3.tar.gz
(8.9 kB
view hashes)