Skip to content

Commit

Permalink
Merge pull request #19 from leptonai/yqdemo
Browse files Browse the repository at this point in the history
feat(examples): add audio analysis example to show background jobs
  • Loading branch information
Yangqing authored Aug 22, 2023
2 parents 2f4114f + 297e019 commit 279bbce
Show file tree
Hide file tree
Showing 5 changed files with 1,622 additions and 0 deletions.
2 changes: 2 additions & 0 deletions advanced/whisperx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This example demonstrates how to run the WhisperX model on Lepton. [WhisperX](https://github.com/m-bain/whisperX) is similar to the whisper example, but does transcription, alignment, and diarization for the input.

The following example shows the WhisperX demo that allows one to very quickly recognize short audios. For long audios like podcasts, instead of having a long-waiting api, it is easier to build a service that does the actual recognition as a background task - see the notebook [What does a great podcast sound like?](audio_analysis.ipynb) as an end to end example.

## Note on custom environment

Similar to the Whisper JAX example, if you are running locally, we recommend you to use a custom environment like `conda` or `virtualenv`.
Expand Down
Binary file added advanced/whisperx/assets/negative_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added advanced/whisperx/assets/positive_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 279bbce

Please sign in to comment.