mirror of
https://github.com/maglore9900/max_headroom.git
synced 2025-06-04 10:30:24 +00:00
Update adapter.py
This commit is contained in:
parent
9c9878abd9
commit
7cd7a79e7d
@ -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"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user