Speechless repo for sales call analysis
Project description
miya-speechless
Poetry Installation Instructions
To install the dependencies and manage the project, we use Poetry. Follow the steps below to set up your environment with Poetry.
Step 1: Install Poetry
You can install Poetry by running the official installation script:
curl -sSL https://install.python-poetry.org | python3 -
Alternatively, you can install it via pip:
pip install poetry
Step 2: Verify Poetry Installation
After installing, verify that Poetry is available by running:
poetry --version
Step 3: Install Dependencies
Once Poetry is installed, you can install the project dependencies by running the following command in the project root:
poetry install
This will create a virtual environment and install all dependencies specified in the pyproject.toml file.
Step 4: Run the Project or Tests
You can now run the project or the tests using the Poetry environment:
To activate the Poetry environment:
poetry shell
To run the tests:
poetry run pytest
Step 4: Convert the model to onnx format
To convert the model to onnx format, run the following command:
poetry poetry run python export_to_onnx.py --checkpoint /path/to/checkpoint --onnx_model /path/to/onnx_model
Step 5: Run the streamlit app
Place the onnx model in the models directory.
To start the streamlit app, run the following command:
poetry run streamlit run app/app.py
In the application, you can set the following parameters:
- overlap: Set the overlap between the transcript and the diaretization (default: 0.1)
- onset_threshold: Set the onset threshold for speaker start (default: 0.1)
- offset_threshold: Set the offset threshold for speaker stop (default: 0.1)
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miya_speechless-0.0.16-py3-none-any.whl.
File metadata
- Download URL: miya_speechless-0.0.16-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7836cab59ffca02ab2586b3ecfd3b753f51ace4015145d339edd90b1d72cf03d
|
|
| MD5 |
79042530311e0951968caf2765e3dbe6
|
|
| BLAKE2b-256 |
7b76c8c727c2942dc19b2b8043fb643d970d5dd89218bee30786d75949b95c9c
|