mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-23 06:12:22 +00:00
docker compose bugfix
This commit is contained in:
parent
79426ce9d0
commit
9fd814a3b3
@ -11,7 +11,7 @@ COPY ./pyGpt4All/api.py /srv/pyGpt4All/api.py
|
||||
COPY ./pyGpt4All/db.py /srv/pyGpt4All/db.py
|
||||
COPY ./pyGpt4All/config.py /srv/pyGpt4All/config.py
|
||||
COPY ./pyGpt4All/extension.py /srv/pyGpt4All/extension.py
|
||||
COPY ./pyGpt4All/backends /srv/pyGpt4All/backends
|
||||
COPY ./backends /srv/backends
|
||||
COPY ./static /srv/static
|
||||
COPY ./templates /srv/templates
|
||||
|
||||
|
@ -100,17 +100,12 @@ function update_main(){
|
||||
}
|
||||
else{
|
||||
// For the other enrtries, these are just the text of the chatbot
|
||||
for (const char of text) {
|
||||
txt = bot_msg.hiddenElement.innerHTML;
|
||||
if (char != '\f') {
|
||||
txt += char
|
||||
txt += text
|
||||
bot_msg.hiddenElement.innerHTML = txt;
|
||||
bot_msg.messageTextElement.innerHTML = txt;
|
||||
}
|
||||
|
||||
// scroll to bottom of chat window
|
||||
chatWindow.scrollTop = chatWindow.scrollHeight;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user