PARRoT: Precise Audio Recognition and Recap over Transcription
A tool for writing a recap mail or report from a video recording of a call.
Installation
PARRoT can be installed from pyPI by simply doing:
python -m pip install parrot1
with the following extras:
faster-whisper -> to install faster-whisper dependencies
llama-cpp -> to install llama-cpp dependencies
os-models -> to install both the previous ones
docx -> to use external transcription
all -> install everything
For instance:
python -m pip install parrot1[os-models]
NOTE: PARRoT requires FFmpeg available and visible in the system!
Usage
You can find all the information needed for using the tool by doing
parrot --help
At the moment, there are two commands:
parrot mail <video_path>
and
parrot report <video_path>
Options:
--transcript (-t) <PATH>: path to the transcript with speakers (Optional).
--output-filepath (-o) <PATH>: path to the final result (Optional, by default it creates the file in the current working directory).
--faster-whisper (-fw): If set, it uses faster whisper instead of hosted OpenAI Whisper.
--llama-cpp (-lc): If set, it uses llama-cpp instead of the hosted OpenAI GPT model.
Contributing
First of all make sure you have installed pre-commit and can use it.
pip install pre-commit
and
pre-commit install
You can't push your code directly in the contrib branch. You should open a branch (feat|fix)/[/] and then open a PR with reviewers.
Please try sticking to the code style or, for any eventual suggestion for libraries/patterns, discuss it before in a issue.
Release files for parrot1 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parrot1-0.1.2.tar.gz | 14.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parrot1-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.4 kB
Release files / parrot1-0.1.2.tar.gz
| Download URL | parrot1-0.1.2.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7045dedf6f918da406a666f684a7c4cc78eca6a7264eef7e87244e15a09ada55
|
|
BLAKE2b-256 checksum How to use checksums |
75dab696eb15819716e99df1abd0ce01b767fbb37e4b70e2f1d702ca26014db4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1019-azure
|
Release files / parrot1-0.1.2-py3-none-any.whl
| Download URL | parrot1-0.1.2-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9eeadb734d926dc83a47bd6806ae8fddf61c78db82cdb28597363dd3c4e8f91e
|
|
BLAKE2b-256 checksum How to use checksums |
b5a497ae146b9dbfed6b389028952f219b8c36fa5f94c210622169516c887532
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1019-azure
|