No project description provided
Project description
Conversations
Rich analysis of conversations.
Installation
pip install conversations
Usage
from conversations import report
from conversations.transcribe import whisper
from conversations.diarise import simple
audio_file = '/path/to/audio.mp4'
transcript = whisper.process(audio_file=audio_file, model_name="tiny.en")
diarisation = simple.process(audio_file=audio_file, num_speakers=2)
html_report = report.generate(transcript=transcript, audio_file=audio_file, diarisation=diarisation)
with open('conversation.html', 'w') as f:
f.write(html_report.render())
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
conversations-0.12.0.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for conversations-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d04f84ca319f7f56e6ed301d00c06f41c4b2811ce1b6c5b8f1f0472e71e17e |
|
MD5 | 23346082340adcb131cc4c32ec98e68c |
|
BLAKE2b-256 | aaa3d08dc2bdd2c4a2b09578334c1384e1bd3b093d5793daa80c681c5e881c3e |