diff --git a/addons/voice/manifest.json b/addons/voice/manifest.json index a0d6d9277..3a3eb1d68 100644 --- a/addons/voice/manifest.json +++ b/addons/voice/manifest.json @@ -14,9 +14,9 @@ "entry": "ui/voice.js", "css": ["ui/voice.css"], "sdk": { "min": 2, "max": 2 }, - "pages": ["recognition", "library", "create", "speech"], - "navigation": ["speech", "library"], - "mainPage": "recognition", + "pages": ["voice", "recognition", "library", "create", "speech"], + "navigation": ["voice"], + "mainPage": "voice", "icon": "ui/icon.png", "title": "Voice", "description": "Recognise who is speaking, keep the voices that text-to-speech can use, and speak text with them." diff --git a/addons/voice/ui/src/Speech.jsx b/addons/voice/ui/src/Speech.jsx index b0f0f10e6..e3550cc0d 100644 --- a/addons/voice/ui/src/Speech.jsx +++ b/addons/voice/ui/src/Speech.jsx @@ -6,7 +6,7 @@ export function createSpeech(ctx) { const { h, t, ui, hooks, viewer } = ctx const { useState, useEffect, useMemo } = ctx.React - function Speech({ path }) { + function Speech({ path, tabs }) { const [model, setModel] = useState(ctx.modelFrom(path)) const [models, setModels] = useState({ status: 'loading', list: [] }) const [profiles, setProfiles] = useState([]) @@ -57,6 +57,7 @@ export function createSpeech(ctx) { return (
+ {tabs}