diff --git a/py/api.py b/py/api.py index 5302360..6a16824 100644 --- a/py/api.py +++ b/py/api.py @@ -74,7 +74,7 @@ class API: elif model == 4: answer = self.process_text_gradio(message, "PatrickPluto/InterstellarAIChatbot", system) elif model == 5: - answer = self.process_text_mistralai(message, "mistral-large-latest", system) + answer = self.process_text_mistralai(message, "open-mistral-7b", system) elif model == 6: answer = self.process_text_mistralai(message, "codestral-latest", system) else: diff --git a/py/install.sh b/py/install.sh index ad4732f..ce497b4 100755 --- a/py/install.sh +++ b/py/install.sh @@ -11,6 +11,7 @@ pip install pyqt5 pip install pyqtwebengine pip install gradio_client pip install mistralai +pip install pyperclip ollama pull phi3.5 ollama pull codegemma:2b diff --git a/py/templates/index.html b/py/templates/index.html index 0ddb62e..548d50a 100644 --- a/py/templates/index.html +++ b/py/templates/index.html @@ -112,13 +112,13 @@ {% endif %} {% endfor %}
@@ -127,7 +127,7 @@