Browse Source

Adding speech-to-speech example

tags/v0.3.10-rc3
haixuantao 11 months ago
parent
commit
6983c79f42
1 changed files with 46 additions and 0 deletions
  1. +46
    -0
      examples/speech-to-speech/kokoro-dev.yml

+ 46
- 0
examples/speech-to-speech/kokoro-dev.yml View File

@@ -0,0 +1,46 @@
nodes:
- id: dora-microphone
build: pip install -e ../../node-hub/dora-microphone
path: dora-microphone
inputs:
tick: dora/timer/millis/2000
outputs:
- audio

- id: dora-vad
build: pip install -e ../../node-hub/dora-vad
path: dora-vad
inputs:
audio: dora-microphone/audio
outputs:
- audio

- id: dora-distil-whisper
build: pip install -e ../../node-hub/dora-distil-whisper
path: dora-distil-whisper
inputs:
input: dora-vad/audio
outputs:
- text
env:
TARGET_LANGUAGE: english

- id: dora-kokoro-tts
build: pip install -e ../../node-hub/dora-kokoro-tts
path: dora-kokoro-tts
inputs:
text: dora-distil-whisper/text
outputs:
- audio

- id: dora-pyaudio
build: pip install -e ../../node-hub/dora-pyaudio
path: dora-pyaudio
inputs:
audio: dora-kokoro-tts/audio

- id: dora-rerun
build: pip install dora-rerun==0.3.10rc1
path: dora-rerun
inputs:
text_original: dora-distil-whisper/text

Loading…
Cancel
Save