From d4a92bb8df56009a7e5520dca0a3ed8f79e92d06 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Tue, 9 Apr 2024 05:54:47 +0200 Subject: Add text to speech module --- g4f/Provider/__init__.py | 1 + g4f/gui/client/index.html | 1 + g4f/gui/client/static/css/style.css | 22 ++++- g4f/gui/client/static/js/chat.v1.js | 102 ++++++++++++++++++--- .../client/static/js/text_to_speech/630.index.js | 1 + .../client/static/js/text_to_speech/900.index.js | 1 + g4f/gui/client/static/js/text_to_speech/index.js | 1 + 7 files changed, 114 insertions(+), 15 deletions(-) create mode 100644 g4f/gui/client/static/js/text_to_speech/630.index.js create mode 100644 g4f/gui/client/static/js/text_to_speech/900.index.js create mode 100644 g4f/gui/client/static/js/text_to_speech/index.js (limited to 'g4f') diff --git a/g4f/Provider/__init__.py b/g4f/Provider/__init__.py index 2c6512f0..b567305c 100644 --- a/g4f/Provider/__init__.py +++ b/g4f/Provider/__init__.py @@ -21,6 +21,7 @@ from .ChatgptFree import ChatgptFree from .ChatgptNext import ChatgptNext from .ChatgptX import ChatgptX from .DeepInfra import DeepInfra +from .DuckDuckGo import DuckDuckGo from .FlowGpt import FlowGpt from .FreeChatgpt import FreeChatgpt from .FreeGpt import FreeGpt diff --git a/g4f/gui/client/index.html b/g4f/gui/client/index.html index 440d8922..b3cadd19 100644 --- a/g4f/gui/client/index.html +++ b/g4f/gui/client/index.html @@ -37,6 +37,7 @@ import llamaTokenizer from "llama-tokenizer-js" +