This commit is contained in:
Saifeddine ALOUI 2023-04-17 01:19:42 +02:00
parent 970a787764
commit efeaaa864b
2 changed files with 2 additions and 4 deletions

2
app.py
View File

@ -221,7 +221,7 @@ class Gpt4AllWebUI(GPT4AllAPI):
self.full_message_list.append(self.bot_says)
bot_says = markdown.markdown(self.bot_says)
return "\n".join(bot_says)
return bot_says
def bot(self):
self.stop = True

View File

@ -7,9 +7,7 @@ echo %modelPath%
echo Converting the model to the new format...
if not exist tmp\llama.cpp git clone https://github.com/ggerganov/llama.cpp.git tmp\llama.cpp
cd tmp\llama.cpp
git checkout 6c248707f51c8a50f7792e7f7787ec481881db88
cd ../..
pwd
move /y "%filename%" "%newname%"
echo Converting ...
python tmp\llama.cpp\migrate-ggml-2023-03-30-pr613.py "%newname%" "%filename%"
python tmp\llama.cpp\convert.py "%newname%" --outfile "%filename%"