Antoine101 commited on
Commit
0ba0e9e
·
verified ·
1 Parent(s): 0a90602

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ pipe = pipeline('text-generation', model=model, tokenizer=tokenizer, max_new_tok
51
  hf_pipe = HuggingFacePipeline(pipeline=pipe)
52
 
53
  #chat = ChatHuggingFace(llm=llm, verbose=True)
54
- chat = ChatOllama(llm=hf).bind(skip_prompt=True)
55
 
56
  tools = []
57
  chat_with_tools = chat.bind_tools(tools)
 
51
  hf_pipe = HuggingFacePipeline(pipeline=pipe)
52
 
53
  #chat = ChatHuggingFace(llm=llm, verbose=True)
54
+ chat = ChatOllama(llm=hf_pipe).bind(skip_prompt=True)
55
 
56
  tools = []
57
  chat_with_tools = chat.bind_tools(tools)