mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Speex: Engine: pass labels
This commit is contained in:
@@ -74,7 +74,7 @@ function PreviewButton({ engineId }: { engineId: DSpeexEngineAny['engineId'] })
|
||||
const result = await speakText(
|
||||
SPEEX_PREVIEW_TEXT,
|
||||
{ engineId: engineId },
|
||||
{ rpcDisableStreaming: !SPEEX_PREVIEW_STREAM },
|
||||
{ label: 'Engine preview', rpcDisableStreaming: !SPEEX_PREVIEW_STREAM },
|
||||
signal,
|
||||
);
|
||||
if (!result.success && !signal.aborted) throw new Error(result.errorText || 'Preview failed');
|
||||
|
||||
@@ -61,6 +61,7 @@ export function SpeexSystemTest() {
|
||||
customText,
|
||||
undefined,
|
||||
{
|
||||
label: 'System test',
|
||||
maxChunkLength,
|
||||
disableUnspeakable: noCleanup,
|
||||
rpcDisableStreaming: noStreaming,
|
||||
|
||||
Reference in New Issue
Block a user