diff --git a/app.py b/app.py
index f882b7df..c5157955 100644
--- a/app.py
+++ b/app.py
@@ -213,7 +213,7 @@ class Gpt4AllWebUI(GPT4AllAPI):
try:
while not self.text_queue.empty():
value = self.text_queue.get(False)
- yield value.replace("\n","
")
+ yield value#.replace("\n","
")
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):
diff --git a/scripts/convert model.bat b/scripts/convert model.bat
index bab01609..4ad372f0 100644
--- a/scripts/convert model.bat
+++ b/scripts/convert model.bat
@@ -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...