refactor: update ASR sample source to local static file
Browse files- core/wakeup.py +1 -4
core/wakeup.py
CHANGED
|
@@ -181,10 +181,7 @@ def _warmup_asr(
|
|
| 181 |
|
| 182 |
# Try downloading a real speech sample from HuggingFace first —
|
| 183 |
# exercises the full encoder+decoder+VAD path rather than just silence.
|
| 184 |
-
HF_ASR_SAMPLE =
|
| 185 |
-
"https://huggingface.co/datasets/hf-internal-testing/"
|
| 186 |
-
"librispeech_asr_dummy/resolve/main/audio/1.flac"
|
| 187 |
-
)
|
| 188 |
|
| 189 |
tmp_path = None
|
| 190 |
try:
|
|
|
|
| 181 |
|
| 182 |
# Try downloading a real speech sample from HuggingFace first —
|
| 183 |
# exercises the full encoder+decoder+VAD path rather than just silence.
|
| 184 |
+
HF_ASR_SAMPLE = "static/harvard.wav"
|
|
|
|
|
|
|
|
|
|
| 185 |
|
| 186 |
tmp_path = None
|
| 187 |
try:
|