mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-10 15:02:47 +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/db.py /srv/pyGpt4All/db.py
|
||||||
COPY ./pyGpt4All/config.py /srv/pyGpt4All/config.py
|
COPY ./pyGpt4All/config.py /srv/pyGpt4All/config.py
|
||||||
COPY ./pyGpt4All/extension.py /srv/pyGpt4All/extension.py
|
COPY ./pyGpt4All/extension.py /srv/pyGpt4All/extension.py
|
||||||
COPY ./pyGpt4All/backends /srv/pyGpt4All/backends
|
COPY ./backends /srv/backends
|
||||||
COPY ./static /srv/static
|
COPY ./static /srv/static
|
||||||
COPY ./templates /srv/templates
|
COPY ./templates /srv/templates
|
||||||
|
|
||||||
|
@ -100,17 +100,12 @@ function update_main(){
|
|||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
// For the other enrtries, these are just the text of the chatbot
|
// For the other enrtries, these are just the text of the chatbot
|
||||||
for (const char of text) {
|
txt = bot_msg.hiddenElement.innerHTML;
|
||||||
txt = bot_msg.hiddenElement.innerHTML;
|
txt += text
|
||||||
if (char != '\f') {
|
bot_msg.hiddenElement.innerHTML = txt;
|
||||||
txt += char
|
bot_msg.messageTextElement.innerHTML = txt;
|
||||||
bot_msg.hiddenElement.innerHTML = txt;
|
|
||||||
bot_msg.messageTextElement.innerHTML = txt;
|
|
||||||
}
|
|
||||||
|
|
||||||
// scroll to bottom of chat window
|
// scroll to bottom of chat window
|
||||||
chatWindow.scrollTop = chatWindow.scrollHeight;
|
chatWindow.scrollTop = chatWindow.scrollHeight;
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user