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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for miya_speechless-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 42dac5a33f2235e2d71cbcd8e6cc396cbcabe2699862d1609b3783301cb9cc67
MD5 371df638d7a58f722b2b5a7d66f90795
BLAKE2b-256 11ccde90a2aca547af53e1a50c5d586746d453eba2e0f31c28276021e8190b42

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