From ceed364cb1ade47a29ccf698074be01b520fc82c Mon Sep 17 00:00:00 2001
From: Heiner Lohaus
Date: Sat, 13 Jan 2024 18:10:43 +0100
Subject: Fix process_image in Bing Add ImageResponse to Bing Fix cursor
styling in gui
---
g4f/gui/client/css/style.css | 1 +
g4f/gui/client/js/chat.v1.js | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
(limited to 'g4f/gui')
diff --git a/g4f/gui/client/css/style.css b/g4f/gui/client/css/style.css
index 59464272..2d4c9857 100644
--- a/g4f/gui/client/css/style.css
+++ b/g4f/gui/client/css/style.css
@@ -566,6 +566,7 @@ select {
animation: blink 0.8s infinite;
width: 7px;
height: 15px;
+ display: inline-block;
}
@keyframes blink {
diff --git a/g4f/gui/client/js/chat.v1.js b/g4f/gui/client/js/chat.v1.js
index e763f52d..ccc9461b 100644
--- a/g4f/gui/client/js/chat.v1.js
+++ b/g4f/gui/client/js/chat.v1.js
@@ -104,7 +104,7 @@ const ask_gpt = async () => {
`;
@@ -168,7 +168,7 @@ const ask_gpt = async () => {
}
if (error) {
console.error(error);
- content_inner.innerHTML = "An error occured, please try again, if the problem persists, please use a other model or provider";
+ content_inner.innerHTML += "An error occured, please try again, if the problem persists, please use a other model or provider.
";
} else {
html = markdown_render(text);
html = html.substring(0, html.lastIndexOf('
')) + '';
--
cgit v1.2.3