alfredplpl commited on
Commit
df93447
·
verified ·
1 Parent(s): 3ebb14f

Update app.py

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