Skip to content

fix demos#4031

Open
michalkulakowski wants to merge 1 commit intomainfrom
mkulakow/fix_demos
Open

fix demos#4031
michalkulakowski wants to merge 1 commit intomainfrom
mkulakow/fix_demos

Conversation

@michalkulakowski
Copy link
Collaborator

🛠 Summary

JIRA/Issue if applicable.
Describe the changes.

🧪 Checklist

  • Unit tests added.
  • The documentation updated.
  • Change follows security best practices.
    ``

Copilot AI review requested due to automatic review settings March 2, 2026 16:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates demo UX by clarifying an export_model.py CLI option and adjusting the audio demo setup instructions.

Changes:

  • Clarify the --enable_prefix_caching argument help text in export_model.py.
  • Add a step in the audio demo README to download create_speaker_embedding.py before running it.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
demos/common/export_models/export_model.py Updates CLI help text for --enable_prefix_caching to clarify default behavior.
demos/audio/README.md Adds a curl command to fetch the speaker-embedding helper script before execution.

curl --output audio_samples/audio.wav "https://www.voiptroubleshooter.com/open_speech/american/OSR_us_000_0032_8k.wav"
mkdir -p models
mkdir -p models/speakers
curl https://raw.githubusercontent.com/openvinotoolkit/model_server/refs/heads/main/demos/audio/create_speaker_embedding.py -o create_speaker_embedding.py
Copy link

Copilot AI Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The README now instructs users to download and execute create_speaker_embedding.py directly from the main branch URL. This reduces reproducibility (it may not match the stated OVMS version requirement in this doc) and is riskier from a supply-chain perspective since it runs code fetched at runtime. Consider either referencing the script directly from this repo checkout (e.g., python demos/audio/create_speaker_embedding.py ...) or pinning the download URL to a specific release tag/commit that matches the documented OVMS version (and ideally doing the same for the adjacent requirements.txt download in this block).

Copilot uses AI. Check for mistakes.
@michalkulakowski michalkulakowski requested a review from ngrozae March 2, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants