CCockrum commited on
Commit
977e4c2
·
verified ·
1 Parent(s): f2bd3f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -208,8 +208,8 @@ prompt = PromptTemplate.from_template(
208
  "\nHAL:"
209
  )
210
 
211
- # ✅ Invoke Hugging Face Model
212
- hf = get_llm_hf_inference(max_new_tokens=max_new_tokens, temperature=0.3) # 🔥 Lowered temperature
213
  chat = prompt | hf.bind(skip_prompt=True) | StrOutputParser(output_key='content')
214
 
215
  response = chat.invoke(input=dict(system_message=system_message, user_text=user_text, chat_history=filtered_history))
 
208
  "\nHAL:"
209
  )
210
 
211
+ # ✅ Invoke Hugging Face Model
212
+ hf = get_llm_hf_inference(max_new_tokens=max_new_tokens, temperature=0.3) # 🔥 Lowered temperature
213
  chat = prompt | hf.bind(skip_prompt=True) | StrOutputParser(output_key='content')
214
 
215
  response = chat.invoke(input=dict(system_message=system_message, user_text=user_text, chat_history=filtered_history))