Skip to main content

FastRTC

The Real-Time Communication Library for Python

Turn any python function into a real-time audio and video stream over WebRTC or WebSockets. Now with the Kroko-ASR TTS Model!

Installation

pip install fastrtc-kroko

Features

  • Works with FastRTC with added support for the Kroko-ASR TTS model.
  • Supports English and French Transcriptions (more will be added as Kroko is updated).

Example Run

import soundfile as sf
from pathlib import Path

curr_dir = Path(__file__).parent

from fastrtc_kroko import get_stt_model

m = get_stt_model() # You will need to set a HF_TOKEN env variable, or pass it in here.
audio, sr = sf.read(str(curr_dir / "test_file.wav"))
transcript = m.stt((sr, audio))
print(transcript)

Documentation

Check out the fastrtc documentation for more information.

Licence

MIT

Metadata

Release files for fastrtc-kroko 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastrtc-kroko 0.1.2
File Size Uploaded
fastrtc_kroko-0.1.2.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastrtc-kroko 0.1.2
File Interpreter ABI Platform
fastrtc_kroko-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / fastrtc_kroko-0.1.2.tar.gz

Download URL fastrtc_kroko-0.1.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
9856c761aab468e56e1f8a367566ee881f378fce0bcbcf3d2754d4e2e59193ea
BLAKE2b-256 checksum
How to use checksums
fd1fa01cf1b68d4c61c353406fb77c4b52f1a81f3c8e11e13cc4f2e0a0ebab73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release files / fastrtc_kroko-0.1.2-py3-none-any.whl

Download URL fastrtc_kroko-0.1.2-py3-none-any.whl
Size 772.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e813d6f05b798bd51c71b1de884a039a6463c26461023d758d6c5c72db5c231a
BLAKE2b-256 checksum
How to use checksums
513208069dd1e041c0793c0f17953bdd7d67901be446ff67abbadaad22244610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page