Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a17b93e8a | ||
|
|
3e779823e0 | ||
|
|
30e3d36b1e | ||
|
|
5fbbea2c2a | ||
|
|
96b7687b34 | ||
|
|
7889a68497 | ||
|
|
b590695e2a | ||
|
|
b91873578b |
@@ -7,7 +7,10 @@ Consumers (the omp harness, OpenWebUI, open-notebook) speak the OpenAI
|
|||||||
directory under ``$VOICES_DIR`` and ``reference.wav`` inside it is what makes
|
directory under ``$VOICES_DIR`` and ``reference.wav`` inside it is what makes
|
||||||
the name real. A name that has no reference is not a voice — the shim answers
|
the name real. A name that has no reference is not a voice — the shim answers
|
||||||
400 with the list that is, instead of silently narrating in a fallback voice
|
400 with the list that is, instead of silently narrating in a fallback voice
|
||||||
(silent fallback is how a wrong-voice endpoint stays wrong for weeks).
|
(silent fallback is how a wrong-voice endpoint stays wrong for weeks). A request
|
||||||
|
that names NO voice at all takes ``$DEFAULT_VOICE``: that is a spoken choice in
|
||||||
|
the env file rather than a surprise in the code, and the journal marks it
|
||||||
|
``(default)`` so a name nobody asked for is never mistaken for one that was.
|
||||||
|
|
||||||
Two backends sit behind the one surface, chosen by ``TTS_BACKEND``:
|
Two backends sit behind the one surface, chosen by ``TTS_BACKEND``:
|
||||||
|
|
||||||
@@ -70,7 +73,7 @@ class Config:
|
|||||||
|
|
||||||
def __init__(self, voices_dir, backend, upstream, upstream_model, llama_bin,
|
def __init__(self, voices_dir, backend, upstream, upstream_model, llama_bin,
|
||||||
llama_model, llama_mmproj, llama_lang, llama_threads, port,
|
llama_model, llama_mmproj, llama_lang, llama_threads, port,
|
||||||
max_chars, timeout):
|
max_chars, timeout, default_voice=""):
|
||||||
self.voices_dir = Path(voices_dir)
|
self.voices_dir = Path(voices_dir)
|
||||||
self.backend = backend
|
self.backend = backend
|
||||||
self.upstream = upstream
|
self.upstream = upstream
|
||||||
@@ -83,6 +86,7 @@ class Config:
|
|||||||
self.port = port
|
self.port = port
|
||||||
self.max_chars = max_chars
|
self.max_chars = max_chars
|
||||||
self.timeout = timeout
|
self.timeout = timeout
|
||||||
|
self.default_voice = default_voice
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_env(cls, environ=None):
|
def from_env(cls, environ=None):
|
||||||
@@ -100,6 +104,7 @@ class Config:
|
|||||||
port=_int(env, "SHIM_PORT", 7772),
|
port=_int(env, "SHIM_PORT", 7772),
|
||||||
max_chars=_int(env, "SHIM_MAX_CHARS", 15000),
|
max_chars=_int(env, "SHIM_MAX_CHARS", 15000),
|
||||||
timeout=float(_int(env, "SHIM_TIMEOUT", 600)),
|
timeout=float(_int(env, "SHIM_TIMEOUT", 600)),
|
||||||
|
default_voice=(env.get("DEFAULT_VOICE") or "").strip(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -271,8 +276,13 @@ class SpeechHandler(BaseHTTPRequestHandler):
|
|||||||
"endpoint serves wav and mp3" % fmt))
|
"endpoint serves wav and mp3" % fmt))
|
||||||
return
|
return
|
||||||
|
|
||||||
# `voice_id` is the alias the omp harness forwards for `voice`.
|
# `voice_id` is the alias the omp harness forwards for `voice`. A request
|
||||||
voice = body.get("voice") or body.get("voice_id")
|
# that names nothing takes the declared default — the harness has no
|
||||||
|
# setting that feeds a voice, so voice-less calls are the normal shape
|
||||||
|
# there, not a client bug.
|
||||||
|
requested = body.get("voice") or body.get("voice_id")
|
||||||
|
defaulted = not requested and bool(cfg.default_voice)
|
||||||
|
voice = requested or cfg.default_voice
|
||||||
reference = resolve_voice(cfg.voices_dir, voice)
|
reference = resolve_voice(cfg.voices_dir, voice)
|
||||||
if reference is None:
|
if reference is None:
|
||||||
available = list_voices(cfg.voices_dir)
|
available = list_voices(cfg.voices_dir)
|
||||||
@@ -297,8 +307,9 @@ class SpeechHandler(BaseHTTPRequestHandler):
|
|||||||
|
|
||||||
content_type = MP3_CONTENT_TYPE if fmt == "mp3" else WAV_CONTENT_TYPE
|
content_type = MP3_CONTENT_TYPE if fmt == "mp3" else WAV_CONTENT_TYPE
|
||||||
self._bytes(200, audio, content_type)
|
self._bytes(200, audio, content_type)
|
||||||
self.log_message("speech voice=%s format=%s chars=%d -> %d bytes %s",
|
self.log_message("speech voice=%s%s format=%s chars=%d -> %d bytes %s",
|
||||||
voice, fmt, len(text), len(audio), content_type)
|
voice, " (default)" if defaulted else "", fmt,
|
||||||
|
len(text), len(audio), content_type)
|
||||||
|
|
||||||
# -- backends ----------------------------------------------------------
|
# -- backends ----------------------------------------------------------
|
||||||
def _speech_http(self, cfg, model, text, voice, reference):
|
def _speech_http(self, cfg, model, text, voice, reference):
|
||||||
|
|||||||
@@ -57,6 +57,16 @@ TTS_BACKEND=omni-http
|
|||||||
TTS_UPSTREAM=http://frank-tts-engine:8880
|
TTS_UPSTREAM=http://frank-tts-engine:8880
|
||||||
TTS_UPSTREAM_MODEL=voxcpm2
|
TTS_UPSTREAM_MODEL=voxcpm2
|
||||||
|
|
||||||
|
# THE DEFAULT VOICE — what a request that names NO voice speaks. The omp harness
|
||||||
|
# has no setting that feeds a voice to its speech device (`voice_id` is a
|
||||||
|
# per-call argument; `speech.voice` belongs to the TUI's Kokoro speak-aloud and
|
||||||
|
# never reaches an HTTP request), so a harness voiceover arrives voice-less and
|
||||||
|
# would otherwise be a 400 for every caller that does not name one. An UNKNOWN
|
||||||
|
# name still 400s with the list that exists — this covers the absent case only —
|
||||||
|
# and the journal marks such a line `(default)` so an unrequested voice never
|
||||||
|
# reads as a requested one. Any pack directory in /home/dank/voices is legal.
|
||||||
|
DEFAULT_VOICE=narrator1
|
||||||
|
|
||||||
# CLI-backend knobs, inert while TTS_BACKEND=omni-http. Empty means "not
|
# CLI-backend knobs, inert while TTS_BACKEND=omni-http. Empty means "not
|
||||||
# configured": the endpoint answers a 500 that says so instead of running
|
# configured": the endpoint answers a 500 that says so instead of running
|
||||||
# `nice env -m ...` with an empty binary name.
|
# `nice env -m ...` with an empty binary name.
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ render needs the app installed, not this endpoint.
|
|||||||
| Networks | `dankclaw_default` first (it owns the default route and the consumers), then `frank-tts-engine.network` (10.89.5.0/24, the bridge to the engine) |
|
| Networks | `dankclaw_default` first (it owns the default route and the consumers), then `frank-tts-engine.network` (10.89.5.0/24, the bridge to the engine) |
|
||||||
| Voice packs | `/home/dank/voices` mounted read-only at `/voices` — host state, never repo state |
|
| Voice packs | `/home/dank/voices` mounted read-only at `/voices` — host state, never repo state |
|
||||||
| Upstream | `http://frank-tts-engine:8880` (`scripts/frank-tts.env`, `TTS_UPSTREAM`) |
|
| Upstream | `http://frank-tts-engine:8880` (`scripts/frank-tts.env`, `TTS_UPSTREAM`) |
|
||||||
|
| Default voice | `DEFAULT_VOICE` (`scripts/frank-tts.env`) answers a request that names none; the journal marks that line `(default)`, and an **unknown** name is still a 400 |
|
||||||
| Rollback | `TTS_BACKEND=llama-tts-cli` runs a CLI binary per request and needs no upstream at all |
|
| Rollback | `TTS_BACKEND=llama-tts-cli` runs a CLI binary per request and needs no upstream at all |
|
||||||
|
|
||||||
## Naming a voice
|
## Naming a voice
|
||||||
@@ -42,7 +43,9 @@ render needs the app installed, not this endpoint.
|
|||||||
A voice **is** a directory name. `voice=narrator1` resolves to
|
A voice **is** a directory name. `voice=narrator1` resolves to
|
||||||
`/voices/narrator1/reference.wav`, and that file — not a manifest, not a config
|
`/voices/narrator1/reference.wav`, and that file — not a manifest, not a config
|
||||||
entry — is what makes the name real. omp's TTS device may send `voice_id`; the
|
entry — is what makes the name real. omp's TTS device may send `voice_id`; the
|
||||||
shim accepts either.
|
shim accepts either. A call that sends **neither** — the harness's normal shape,
|
||||||
|
because no harness setting carries a voice for this transport — speaks
|
||||||
|
`$DEFAULT_VOICE`; empty default makes it a 400 again.
|
||||||
|
|
||||||
The usable shape is `^[a-z0-9][a-z0-9._-]*$`: lowercase, starting with a letter
|
The usable shape is `^[a-z0-9][a-z0-9._-]*$`: lowercase, starting with a letter
|
||||||
or digit, then letters, digits, `.`, `_`, `-`, at most 64 characters. No slash,
|
or digit, then letters, digits, `.`, `_`, `-`, at most 64 characters. No slash,
|
||||||
@@ -114,7 +117,7 @@ shows up as a failed synthesis, never as a down probe.
|
|||||||
| `dankclaw/voiceservice/Containerfile` | python 3.12-alpine pinned by digest + ffmpeg, uid 10000 |
|
| `dankclaw/voiceservice/Containerfile` | python 3.12-alpine pinned by digest + ffmpeg, uid 10000 |
|
||||||
| `dankclaw/voiceservice/quadlet/frank-tts.container` | the unit: two networks, `Restart=always`, `HealthCmd`, `[Install]` |
|
| `dankclaw/voiceservice/quadlet/frank-tts.container` | the unit: two networks, `Restart=always`, `HealthCmd`, `[Install]` |
|
||||||
| `dankclaw/voiceservice/quadlet/frank-tts-engine.network` | the shared bridge, named after the engine unit and attached by both |
|
| `dankclaw/voiceservice/quadlet/frank-tts-engine.network` | the shared bridge, named after the engine unit and attached by both |
|
||||||
| `scripts/frank-tts.env` | backend, upstream, port, limits — paths and numbers, no credentials |
|
| `scripts/frank-tts.env` | backend, upstream, port, limits, and the default voice — paths and numbers, no credentials |
|
||||||
| `tests/frank_tts_unit.bats` | the shim against stub engines over real sockets |
|
| `tests/frank_tts_unit.bats` | the shim against stub engines over real sockets |
|
||||||
| `tests/frank_tts_engine.bats` | the pair's wiring: generator output, planner, homepage, deployer |
|
| `tests/frank_tts_engine.bats` | the pair's wiring: generator output, planner, homepage, deployer |
|
||||||
|
|
||||||
@@ -198,3 +201,4 @@ harness bundle and measured the day of the flip:
|
|||||||
| Endpoint answers, synthesis fails | the engine: `podman healthcheck run frank-tts-engine`, then `systemctl --user status frank-tts-engine.service` |
|
| Endpoint answers, synthesis fails | the engine: `podman healthcheck run frank-tts-engine`, then `systemctl --user status frank-tts-engine.service` |
|
||||||
| First request of the day is ~0.6 s slower than the rest — or every name returns 400 | the warm pass did not run; it carries `-`, so it cannot fail the unit. `journalctl --user -u frank-tts-engine` for the warmer's lines, then `podman exec frank-tts-engine /app/warm-voices.sh` — the registry is memory-only (law 1 of [[Frank TTS Engine]]) |
|
| First request of the day is ~0.6 s slower than the rest — or every name returns 400 | the warm pass did not run; it carries `-`, so it cannot fail the unit. `journalctl --user -u frank-tts-engine` for the warmer's lines, then `podman exec frank-tts-engine /app/warm-voices.sh` — the registry is memory-only (law 1 of [[Frank TTS Engine]]) |
|
||||||
| The unit never appears after a deploy | the generator dropped it: `frank-tts-engine.network` is missing from `~/.config/containers/systemd/` |
|
| The unit never appears after a deploy | the generator dropped it: `frank-tts-engine.network` is missing from `~/.config/containers/systemd/` |
|
||||||
|
| A consumer rejects `narrator1` by listing 29 names (`af_heart … bm_fable`) and no request ever reaches this endpoint | that consumer is synthesizing **in the browser** with Kokoro.js, whose voice pack is fixed — OpenWebUI 0.11.4 ships it as the `browser-kokoro` TTS engine; see [[OpenWebUI]] |
|
||||||
|
|||||||
@@ -292,6 +292,42 @@ carries base64 image data or a URL.
|
|||||||
Failure modes: connection refused ⇒ OpenWebUI or ComfyUI is down; timeouts
|
Failure modes: connection refused ⇒ OpenWebUI or ComfyUI is down; timeouts
|
||||||
on large sizes ⇒ check ComfyUI resources; 401 ⇒ the token is bad.
|
on large sizes ⇒ check ComfyUI resources; 401 ⇒ the token is bad.
|
||||||
|
|
||||||
|
## Text-to-speech (frank-tts)
|
||||||
|
|
||||||
|
TTS is the fleet's one OpenAI-compatible speech endpoint —
|
||||||
|
`http://host.containers.internal:7772/v1` (`audio.tts.openai.api_base_url`
|
||||||
|
in the config DB, 2026-10-18), model `frank-tts`, voice `narrator1`. That
|
||||||
|
port is the rootless quadlet `frank-tts` (this repo:
|
||||||
|
`dankclaw/voiceservice/quadlet/frank-tts.container`,
|
||||||
|
`scripts/frank-tts.env`), and its shim resolves `voice=<name>` against
|
||||||
|
`/home/dank/voices/<name>/reference.wav` — a name without a reference is a
|
||||||
|
400 listing the voices that exist, never a silent fallback.
|
||||||
|
|
||||||
|
**The 29-voice `af_* … bm_fable` list is NOT frank-tts.** That enum belongs
|
||||||
|
to **Kokoro.js running in the browser**: the deployed front end (0.11.4)
|
||||||
|
ships an in-page Kokoro implementation (chunk carrying a frozen voice table
|
||||||
|
`{af_heart:{name:"Heart",…}}` and `_validate_voice`, model
|
||||||
|
`onnx-community/Kokoro-82M-v1.0-ONNX`, plus a personal *Kokoro.js dtype*
|
||||||
|
setting). Its engine select takes `""` (Default) or `browser-kokoro`; when
|
||||||
|
`browser-kokoro` is chosen the page synthesizes locally and rejects any
|
||||||
|
voice outside its fixed pack — so `narrator1` fails with
|
||||||
|
`Voice: "narrator1" not found. Should be one of: af_heart, …` **without a
|
||||||
|
single request reaching the server**. Personal audio settings are per
|
||||||
|
browser: no `user.settings` row and no container env carries an audio
|
||||||
|
override, yet the toast still appears ⇒ the choice lives in that browser's
|
||||||
|
own storage. Fix in the UI: Settings → Audio → TTS Engine → **Default**,
|
||||||
|
which hands synthesis to the admin config (frank-tts); picking `af_heart`
|
||||||
|
instead keeps Kokoro, and Kokoro cannot clone — fixed pack only.
|
||||||
|
|
||||||
|
Verified 2026-10-18 from inside the container with the exact OpenWebUI body
|
||||||
|
(`{"model":"frank-tts","input":…,"voice":"narrator1",
|
||||||
|
"response_format":"mp3","speed":1.0}`) → **200, `audio/mpeg`, 7,629 B**,
|
||||||
|
while `podman logs open-webui` recorded **zero** `audio/speech` requests for
|
||||||
|
the failing click — that contrast is the instrument: a server-path failure
|
||||||
|
leaves a log line and a frank-tts error, a `browser-kokoro` failure leaves
|
||||||
|
neither.
|
||||||
|
|
||||||
|
|
||||||
## Retired instances
|
## Retired instances
|
||||||
|
|
||||||
- The compose `open-webui` service (port 3000) was never run: 3000 is Gitea's HTTP port, so it could not bind.
|
- The compose `open-webui` service (port 3000) was never run: 3000 is Gitea's HTTP port, so it could not bind.
|
||||||
@@ -349,6 +385,7 @@ on large sizes ⇒ check ComfyUI resources; 401 ⇒ the token is bad.
|
|||||||
## See Also
|
## See Also
|
||||||
|
|
||||||
- [[Dankclaw Stack]]
|
- [[Dankclaw Stack]]
|
||||||
|
- [[Frank TTS]] — the speech endpoint behind *Text-to-speech (frank-tts)*
|
||||||
- [[Hermes]] — the agent OpenWebUI can talk to
|
- [[Hermes]] — the agent OpenWebUI can talk to
|
||||||
- [[SearXNG]] — the search engine on this host
|
- [[SearXNG]] — the search engine on this host
|
||||||
- [LLM knowledge base](../LLM/index.md) — the vLLM and llama.cpp endpoints
|
- [LLM knowledge base](../LLM/index.md) — the vLLM and llama.cpp endpoints
|
||||||
|
|||||||
@@ -2734,3 +2734,56 @@ every restart since the cutover.
|
|||||||
to Kokoro is one key, not two, and `speech.voice: narrator1` — briefly recorded
|
to Kokoro is one key, not two, and `speech.voice: narrator1` — briefly recorded
|
||||||
above as wiring — went back to `am_fenrir`: that key is the vocalizer's Kokoro
|
above as wiring — went back to `am_fenrir`: that key is the vocalizer's Kokoro
|
||||||
enum, so a pack name there breaks speak-aloud and does nothing for synthesis.
|
enum, so a pack name there breaks speak-aloud and does nothing for synthesis.
|
||||||
|
|
||||||
|
## 2026-10-18 — the default voice shipped: a harness voiceover needs no voice
|
||||||
|
|
||||||
|
- Merged **#17** (`b590695`) and **#18** (`7889a68`), then deployed both affected
|
||||||
|
services in one dispatch — `--service frank-tts --service homepage`, 159 s,
|
||||||
|
Playwright gate 33/33. The shim image rebuilt with the new handler; the
|
||||||
|
homepage checker took the card on its next timer tick: `frank-tts → up`,
|
||||||
|
probed for real rather than gated.
|
||||||
|
- The call that had failed is the one that proves the fix. Same device, same
|
||||||
|
restarted session, **no** `voice_id`: `Saved 430124 bytes (model=frank-tts
|
||||||
|
(dankclaw)/frank-tts, voice=default, codec=wav)`. The façade journal says what
|
||||||
|
actually spoke — `speech voice=narrator1 (default) format=wav chars=148 ->
|
||||||
|
430124 bytes` — with the engine's ledger behind it (`audio 8.96 s, RTF 0.551`).
|
||||||
|
The harness prints `voice=default` because it never had a name to print; the
|
||||||
|
voice that answered is the operator's line in `scripts/frank-tts.env`, and the
|
||||||
|
journal keeps them distinguishable forever after.
|
||||||
|
- The page gained a **Default voice** row in its contract table and
|
||||||
|
[[#Naming a voice]] now states that a call naming nothing is the harness's
|
||||||
|
normal shape, not a client bug — the misconception that produced the 400 in
|
||||||
|
the first place.
|
||||||
|
|
||||||
|
## 2026-10-18 — OpenWebUI "voice narrator1 not found": the rejector is in the browser
|
||||||
|
|
||||||
|
- Frank's toast — `Error: Voice "narrator1" not found. Should be one of:
|
||||||
|
af_heart, …, bm_fable` — looked like frank-tts refusing the name. It is
|
||||||
|
not: that 29-name enum is the voice pack of **Kokoro.js running in the
|
||||||
|
page**, and OpenWebUI 0.11.4 ships that implementation in its own front
|
||||||
|
end (frozen table `{af_heart:{name:"Heart",…}}`, `_validate_voice`, model
|
||||||
|
`onnx-community/Kokoro-82M-v1.0-ONNX`, a personal *Kokoro.js dtype*
|
||||||
|
setting, engine values `""`/`browser-kokoro`).
|
||||||
|
- Instruments that separated the two paths, in order: the admin config DB is
|
||||||
|
correct (`audio.tts.engine=openai`,
|
||||||
|
`audio.tts.openai.api_base_url=http://host.containers.internal:7772/v1`,
|
||||||
|
`model=frank-tts`, `voice=narrator1`, `split_on=punctuation`); from inside
|
||||||
|
the container the exact OpenWebUI body
|
||||||
|
(`{"model":"frank-tts","input":…,"voice":"narrator1","response_format":"mp3","speed":1.0}`)
|
||||||
|
returns **200 `audio/mpeg` 7,629 B**; and `podman logs open-webui` holds
|
||||||
|
**zero** `audio/speech` requests for the failing click. A server-path
|
||||||
|
failure leaves a log line and a frank-tts error — a `browser-kokoro`
|
||||||
|
failure leaves neither. No container env carries an `AUDIO_*`/`TTS`
|
||||||
|
variable and no `user.settings` row (all four users) carries an audio
|
||||||
|
override, so the engine choice is per-browser storage, not fleet state.
|
||||||
|
- Fix is a UI click, not a deploy: Settings → Audio → TTS Engine →
|
||||||
|
**Default** hands synthesis back to frank-tts and the cloned voices;
|
||||||
|
choosing `af_heart` keeps in-browser Kokoro, which cannot clone (fixed
|
||||||
|
pack). Recorded on [[OpenWebUI]] under *Text-to-speech (frank-tts)*;
|
||||||
|
suite green 384/384 (wall 65.9 s).
|
||||||
|
- Also in the window: **PR #22 merged** (`0c7fe8b`, `dank/command-center`) so
|
||||||
|
`agent/extensions/dankvoice.ts` landed on the auto-load path — proven in a
|
||||||
|
plain `omp` session with no flags: `/say merged build check` → 1.20 s WAV
|
||||||
|
to the player, temp dir cleaned; the audible pass through the default
|
||||||
|
`pw-play` detection confirmed by Frank. Sessions open before the merge need
|
||||||
|
a restart to pick the command up.
|
||||||
|
|||||||
@@ -183,6 +183,37 @@ assert 'voice_id' not in body, body
|
|||||||
PY
|
PY
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "a voice-less request speaks the declared default and marks the log" {
|
||||||
|
# The omp harness has no setting that feeds a voice to its speech device, so
|
||||||
|
# a voice-less call is its NORMAL shape rather than a client bug. With the
|
||||||
|
# operator's default armed the call must produce that pack's audio, and the
|
||||||
|
# journal line must say (default) — otherwise an unrequested voice reads,
|
||||||
|
# weeks later, exactly like one somebody asked for.
|
||||||
|
arm_omni
|
||||||
|
export DEFAULT_VOICE=narrator1
|
||||||
|
start_app
|
||||||
|
speech '{"model":"tts-1","input":"hello"}'
|
||||||
|
[ "$output" = "200" ] || { cat "$TEST_TMP/app.log"; false; }
|
||||||
|
cmp "$TEST_TMP/out.bin" "$TEST_TMP/upstream.wav"
|
||||||
|
python3 - "$TEST_TMP/capture.json" <<'PY'
|
||||||
|
import json, sys
|
||||||
|
body = json.load(open(sys.argv[1]))
|
||||||
|
assert body['voice'] == 'narrator1', 'the declared default never reached the engine'
|
||||||
|
PY
|
||||||
|
grep -q 'speech voice=narrator1 (default) format=wav' "$TEST_TMP/app.log" \
|
||||||
|
|| { cat "$TEST_TMP/app.log"; false; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "with no default declared a voice-less request stays a 400" {
|
||||||
|
# Strictness is still the code default: an endpoint that invents a voice
|
||||||
|
# nobody configured is exactly how a wrong-voice deployment stays wrong.
|
||||||
|
arm_omni
|
||||||
|
start_app
|
||||||
|
speech '{"model":"tts-1","input":"hello"}'
|
||||||
|
[ "$output" = "400" ] || { cat "$TEST_TMP/app.log"; false; }
|
||||||
|
grep -q 'narrator1' "$TEST_TMP/out.bin"
|
||||||
|
}
|
||||||
|
|
||||||
@test "an unknown voice is a 400 naming the voices that exist" {
|
@test "an unknown voice is a 400 naming the voices that exist" {
|
||||||
arm_omni
|
arm_omni
|
||||||
start_app
|
start_app
|
||||||
|
|||||||
Reference in New Issue
Block a user