Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miya_speechless-0.0.17-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file miya_speechless-0.0.17-py3-none-any.whl.

File metadata

File hashes

Hashes for miya_speechless-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 e42970db29d0067238ebf929e17a9885f01511ee40219f9a00267e3ba493c338
MD5 99357b041d3e89728ee184ddfc27a959
BLAKE2b-256 251cab57a0fd37a8d712c07f429dcff1ab3021b2374cb129da5ab0387cd2f529

See more details on using hashes here.

Supported by

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