ai-engineering-hub
ai-engineering-hub copied to clipboard
Issue 1: Redundant Definition of `load_llm` in `app_deep_seek.py`
The load_llm function is defined twice in app_deep_seek.py. This is redundant and can lead to confusion or unexpected behavior if the definitions are different. The second definition of the function is in the end of the file and prevents the code in the beginning to work.
@st.cache_resource
def load_llm():
llm = LLM(
model="ollama/deepseek-r1:7b",
base_url="http://localhost:11434"
)
return llm
test
did you fixed it @yongchixiao