|
|
|
@@ -1,47 +0,0 @@ |
|
|
|
nodes: |
|
|
|
- id: dora-microphone |
|
|
|
build: pip install -e ../../node-hub/dora-microphone |
|
|
|
path: dora-microphone |
|
|
|
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: chinese |
|
|
|
TRANSLATE: false |
|
|
|
|
|
|
|
- id: dora-argotranslate |
|
|
|
build: pip install -e ../../node-hub/dora-argotranslate |
|
|
|
path: dora-argotranslate |
|
|
|
inputs: |
|
|
|
text: |
|
|
|
source: dora-distil-whisper/text |
|
|
|
queue_size: 1 |
|
|
|
outputs: |
|
|
|
- text |
|
|
|
env: |
|
|
|
SOURCE_LANGUAGE: zh |
|
|
|
TARGET_LANGUAGE: en |
|
|
|
|
|
|
|
- id: plot |
|
|
|
build: cargo build -p dora-rerun --release |
|
|
|
path: dora-rerun |
|
|
|
inputs: |
|
|
|
text: dora-argotranslate/text |
|
|
|
env: |
|
|
|
IMAGE_WIDTH: 640 |
|
|
|
IMAGE_HEIGHT: 480 |