This commit is contained in:
Saifeddine ALOUI 2023-04-17 02:31:43 +02:00
parent 2da6de85d7
commit 71150f1e34
2 changed files with 4 additions and 3 deletions

3
app.py
View File

@ -213,7 +213,7 @@ class Gpt4AllWebUI(GPT4AllAPI):
try:
while not self.text_queue.empty():
value = self.text_queue.get(False)
yield value.replace("\n","<br>")
yield value#.replace("\n","<br>")
except :
time.sleep(0.1)
@ -221,6 +221,7 @@ class Gpt4AllWebUI(GPT4AllAPI):
self.full_message_list.append(self.bot_says)
bot_says = markdown.markdown(self.bot_says)
yield bot_says
return bot_says
def bot(self):

View File

@ -1,7 +1,7 @@
@echo off
@echo off
set filename=../models/$1
set newname=../models/$1.original
set filename=../models/%1
set newname=../models/%1.original
echo %modelPath%
echo Converting the model to the new format...