mirror of
https://github.com/tcsenpai/easy-web-summarizer.git
synced 2025-06-06 18:45:21 +00:00
Update llama model URL in summarizer.py and translator.py
This commit is contained in:
parent
97918fed73
commit
5a2b0e1e23
@ -45,7 +45,7 @@ def setup_summarization_chain():
|
||||
input_variables=["text"],
|
||||
)
|
||||
|
||||
llm = ChatOllama(model="llama3")
|
||||
llm = ChatOllama(model="llama3", base_url="http://0.0.0.0:11434")
|
||||
llm_chain = LLMChain(llm=llm, prompt=prompt_template)
|
||||
return llm_chain
|
||||
|
||||
|
@ -14,6 +14,6 @@ def setup_translator_chain():
|
||||
input_variables=["text"],
|
||||
)
|
||||
|
||||
llm = ChatOllama(model="llama3")
|
||||
llm = ChatOllama(model="llama3", base_url="http://0.0.0.0:11434")
|
||||
llm_chain = LLMChain(llm=llm, prompt=prompt_template)
|
||||
return llm_chain
|
||||
|
Loading…
x
Reference in New Issue
Block a user