From 7cd7a79e7d460eaa149022a0541174ba58fd360f Mon Sep 17 00:00:00 2001 From: maglore9900 Date: Thu, 3 Oct 2024 15:48:24 -0400 Subject: [PATCH] Update adapter.py --- modules/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/adapter.py b/modules/adapter.py index b1d1c48..6b41195 100644 --- a/modules/adapter.py +++ b/modules/adapter.py @@ -28,7 +28,7 @@ class Adapter: "answer the following request: {topic}" ) self.llm_chat = ChatOllama( - base_url="http://10.0.0.231:11434", model=llm_model + base_url=env("OLLAMA_URL"), model=llm_model ) model_name = "BAAI/bge-small-en" model_kwargs = {"device": "cpu"}