From 2351e418fdce18ccf5c875d5f0b016f51ee49473 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Sat, 13 Jan 2024 20:13:38 +0000 Subject: [PATCH] Changed demo endpoint --- templates/admin.html | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/templates/admin.html b/templates/admin.html index 6be9e67..7fa5d11 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -436,11 +436,11 @@ if (formData.get('streaming') === 'true') { // For streaming, update the audio player src const searchParams = new URLSearchParams(formData).toString(); - audioPlayer.src = baseurl + "/tts-demo-request?" + searchParams; + audioPlayer.src = baseurl + "/api/tts-generate-streaming?" + searchParams; audioPlayer.load(); // Reload the audio player } else { // For non-streaming, send a POST request - const response = await fetch('/tts-demo-request', { + const response = await fetch('/api/tts-generate-streaming', { method: 'POST', body: formData, cache: "no-store" @@ -667,6 +667,19 @@ otherwise Text-generation-webui will also generate TTS due to the way it sends out text. You can do this each time you start up Text-generation-webui or set it in the start-up settings at the top of this page.
+You have 2 types of audio generation options, Streaming and Standard.
The Streaming Audio Generation method is designed for speed and @@ -933,7 +946,8 @@
➡️DeepSpeed requires an Nvidia Graphics card!⬅️
-The atsetup utility for Windows can install DeepSpeed for you (Stanalone users whom installed via the atsetup utility will already have DeepSpeed installed).
+The atsetup utility for Windows can install DeepSpeed for you (Stanalone users whom + installed via the atsetup utility will already have DeepSpeed installed).
DeepSpeed v11.2 will work on the current default text-generation-webui Python 3.11 environment! You have 2x options for how to setup DeepSpeed on Windows. A quick way Option 1 and a long way