Skip to main content

WhisperPlus: A Python library for WhisperPlus API.

Project description

WhisperPlus

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


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.2.tar.gz (8.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page