mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 21:03:07 +00:00
upgraded audio
This commit is contained in:
parent
f5fdf189d2
commit
48257d4473
1
app.py
1
app.py
@ -283,6 +283,7 @@ class Gpt4AllWebUI:
|
||||
json.dumps(
|
||||
{
|
||||
"type": "input_message_infos",
|
||||
"sender": self.personality["name"],
|
||||
"message": message,
|
||||
"id": message_id,
|
||||
"response_id": response_id,
|
||||
|
@ -27,10 +27,10 @@ personality_conditionning: |
|
||||
welcome_message: "Welcome! I am GPT4All A free and open discussion AI. What can I do for you today?"
|
||||
|
||||
# This prefix is added at the beginning of any message input by the user
|
||||
message_prefix: "\nuser:"
|
||||
message_prefix: "\nuser: "
|
||||
|
||||
# This suffix is added at the end of any message input by the user
|
||||
message_suffix: "\ngpt4all:"
|
||||
message_suffix: "\ngpt4all: "
|
||||
|
||||
# Here is the list of extensions this personality requires
|
||||
dependencies: []
|
||||
|
@ -155,9 +155,8 @@ function add_audio_in_ui() {
|
||||
audio_in_button.classList.add("audio_btn");
|
||||
audio_in_button.innerHTML = "🎤";
|
||||
|
||||
input.parentNode.insertBefore(
|
||||
audio_in_button,
|
||||
input
|
||||
input.parentNode.parentNode.appendChild(
|
||||
audio_in_button
|
||||
);
|
||||
|
||||
input.classList.add("flex-1");
|
||||
|
Loading…
Reference in New Issue
Block a user