Open Bug 1960729 Opened 2 days ago Updated 2 days ago

Add kokoro custom pipeline task to ONNXPipeline

Categories

(Core :: Machine Learning, enhancement, P5)

Other Branch
Desktop
All
enhancement

Tracking

()

People

(Reporter: rhadi, Assigned: tarek)

Details

Attachments

(1 file)

Add Kokoro custom pipeline to ONNXPipeline as "moz-text-to-speech"

Related to https://bugzilla.mozilla.org/show_bug.cgi?id=1943148

Because Kokoro has its own phonemizer, we need to instrument a custom ONNX pipeline borrowing from work done in moz-image-to-text

Scope of change:

  • ONNXPipeline.mjs:
    • add TextToSpeech function
    • add moz-text-to-speech task

-Requires adding phonemizer from kokoro.js library under vendor

-The request will return the raw audio which can then be rendered

  • Perftest will be added as well
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: