Keeby-smilyai commited on
Commit
89d512e
·
verified ·
1 Parent(s): 5c47c84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -545,7 +545,7 @@ print(f"✅ Model downloaded to: {model_path}")
545
  model = ModelWrapper(model_path)
546
 
547
  def chat_fn(message, history, temperature, top_k, top_p, max_tokens):
548
- # Build conversation context
549
  conversation = ""
550
  for user_msg, bot_msg in history:
551
  conversation += f"User: {user_msg} Sam: {bot_msg} "
 
545
  model = ModelWrapper(model_path)
546
 
547
  def chat_fn(message, history, temperature, top_k, top_p, max_tokens):
548
+ # Build conversation context with proper template
549
  conversation = ""
550
  for user_msg, bot_msg in history:
551
  conversation += f"User: {user_msg} Sam: {bot_msg} "