Skip to content

Commit 1a626ad

Browse files
committed
pushing whisper-1-template
1 parent 1f31a74 commit 1a626ad

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
nodes:
2+
- id: NODE_ID
3+
build: cargo build --release -p dora-openai-websocket
4+
path: dynamic
5+
inputs:
6+
audio: tts/audio
7+
text: stt/text
8+
speech_started: dora-vad/timestamp_start
9+
speech_stopped: dora-vad/timestamp_end
10+
outputs:
11+
- audio
12+
- text
13+
14+
- id: dora-vad
15+
build: pip install -e ../../node-hub/dora-vad
16+
path: dora-vad
17+
inputs:
18+
audio:
19+
source: NODE_ID/audio
20+
queue_size: 1000000
21+
outputs:
22+
- audio
23+
- timestamp_start
24+
- timestamp_end
25+
env:
26+
MIN_SPEECH_DURATION_MS: 200
27+
MIN_SILENCE_DURATION_MS: 200
28+
THRESHOLD: 0.1
29+
30+
- id: stt
31+
build: pip install -e ../../node-hub/dora-distil-whisper
32+
path: dora-distil-whisper
33+
inputs:
34+
audio: dora-vad/audio
35+
text_noise: llm/text
36+
outputs:
37+
- text
38+
- word
39+
- speech_started
40+
env:
41+
TARGET_LANGUAGE: english
42+
43+
- id: llm
44+
build: pip install -e ../../node-hub/dora-qwen
45+
path: dora-qwen
46+
inputs:
47+
text: stt/text
48+
text_to_audio: NODE_ID/text
49+
outputs:
50+
- text
51+
env:
52+
MODEL_NAME_OR_PATH: LLM_ID
53+
MODEL_FILE_PATTERN: "*[qQ]6_[kK].[gG][gG][uU][fF]"
54+
MAX_TOKENS: 10_000
55+
CONTEXT_SIZE: 10_000
56+
57+
- id: tts
58+
build: pip install -e ../../node-hub/dora-kokoro-tts
59+
path: dora-kokoro-tts
60+
inputs:
61+
text: llm/text
62+
outputs:
63+
- audio

0 commit comments

Comments
 (0)