From 13f1275ca307d77542708c83066ef2fe86f6284a Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Wed, 13 Mar 2024 17:52:48 +0100 Subject: Add model preselection in gui --- g4f/gui/client/css/style.css | 4 ++ g4f/gui/client/html/index.html | 4 ++ g4f/gui/client/js/chat.v1.js | 100 ++++++++++++++++++++++++++++------------- g4f/gui/server/backend.py | 25 +++++++++-- 4 files changed, 100 insertions(+), 33 deletions(-) (limited to 'g4f/gui') diff --git a/g4f/gui/client/css/style.css b/g4f/gui/client/css/style.css index 17f3e4b3..045eae99 100644 --- a/g4f/gui/client/css/style.css +++ b/g4f/gui/client/css/style.css @@ -106,6 +106,10 @@ body { border: 1px solid var(--blur-border); } +.hidden { + display: none; +} + .conversations { max-width: 260px; padding: var(--section-gap); diff --git a/g4f/gui/client/html/index.html b/g4f/gui/client/html/index.html index 46a9c541..e0091c8c 100644 --- a/g4f/gui/client/html/index.html +++ b/g4f/gui/client/html/index.html @@ -162,6 +162,10 @@ +
+ +