alfredplpl commited on
Commit
fa77447
·
verified ·
1 Parent(s): 9986638

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def chat_llama3_8b(message: str,
66
  """
67
  global model
68
  conversation = []
69
- conversation.append({"role": "system", "content": "あなたは日本語で回答するAIアシスタントです。"})
70
  for user, assistant in history:
71
  conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
72
  conversation.append({"role": "user", "content": message})
 
66
  """
67
  global model
68
  conversation = []
69
+ conversation.append({"role": "system", "content": "あなたは優秀なアシスタントです。"})
70
  for user, assistant in history:
71
  conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
72
  conversation.append({"role": "user", "content": message})