DField commited on
Commit
9bed285
·
verified ·
1 Parent(s): 8923cf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def summarize_text_with_chat(text, max_length=5000):
67
  trimmed_text = text[:max_length]
68
  response = client.chat.completions.create(
69
  messages=[
70
- {"role": "system", "content": "次の文書を要約してください。必ず'## タイトル', '## 要約', '## 専門用語解説'を記載してください。"},
71
  {"role": "user", "content": trimmed_text}
72
  ],
73
  model="llama3-70b-8192",
 
67
  trimmed_text = text[:max_length]
68
  response = client.chat.completions.create(
69
  messages=[
70
+ {"role": "system", "content": "次の文書を日本語で要約してください。必ず'## タイトル', '## 要約', '## 専門用語解説'を記載してください。"},
71
  {"role": "user", "content": trimmed_text}
72
  ],
73
  model="llama3-70b-8192",