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.13-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for miya_speechless-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 49b48064f9248ca9e1bba6bb5951351e32041d71b9439d232c6a606ebad6d9cf
MD5 71da8fc82f091734fbd4c98981bd3b9c
BLAKE2b-256 2994622d222921bcad043133c4f02b2ce13d5c47791bcd90f42786b23bd2e501

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