This commit is contained in:
jadenkiu 2023-04-23 16:00:41 -07:00
commit 5aa5de3318
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ Watch usage videos [Usage Videos](https://www.youtube.com/watch?v=DCBefhJUUh4&ab
Watch settings videos [Usage Videos](https://www.youtube.com/watch?v=7KwR2vdt1t4&t=63s&ab_channel=ParisNeo) Watch settings videos [Usage Videos](https://www.youtube.com/watch?v=7KwR2vdt1t4&t=63s&ab_channel=ParisNeo)
Watch new ui videos [Usage Videos](https://www.youtube.com/watch?v=M7NFajCyZKs&ab_channel=ParisNeo)
![image](https://user-images.githubusercontent.com/58695202/233015758-2396925c-1721-4a0e-81d1-dcc181a6017b.png) ![image](https://user-images.githubusercontent.com/58695202/233015758-2396925c-1721-4a0e-81d1-dcc181a6017b.png)
GPT4All is an exceptional language model, designed and developed by Nomic-AI, a proficient company dedicated to natural language processing. The app uses Nomic-AI's advanced library to communicate with the cutting-edge GPT4All model, which operates locally on the user's PC, ensuring seamless and efficient communication. GPT4All is an exceptional language model, designed and developed by Nomic-AI, a proficient company dedicated to natural language processing. The app uses Nomic-AI's advanced library to communicate with the cutting-edge GPT4All model, which operates locally on the user's PC, ensuring seamless and efficient communication.

2
app.py
View File

@ -279,8 +279,8 @@ class Gpt4AllWebUI(GPT4AllAPI):
time.sleep(0.1) time.sleep(0.1)
if self.cancel_gen: if self.cancel_gen:
self.generating = False self.generating = False
app.config['executor'].shutdownNow(False)
print("## Done ##") print("## Done ##")
app.config['executor'].shutdown(True, timeout=5)
self.current_discussion.update_message(response_id, self.bot_says) self.current_discussion.update_message(response_id, self.bot_says)
self.full_message_list.append(self.bot_says) self.full_message_list.append(self.bot_says)
bot_says = markdown.markdown(self.bot_says) bot_says = markdown.markdown(self.bot_says)