This commit is contained in:
YILING0013
2025-02-04 18:14:55 +08:00
parent b60ac8c7e0
commit 542846f969
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -418,7 +418,7 @@ class NovelGeneratorGUI:
def build_embeddings_config_tab(self):
def on_embedding_interface_changed(new_value):
if new_value == "Ollama":
self.embedding_url_var.set("http://localhost:11434/v1")
self.embedding_url_var.set("http://localhost:11434/api")
elif new_value == "ML Studio":
self.embedding_url_var.set("http://localhost:1234/v1")
elif new_value == "OpenAI":