Update app.py
Browse files
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",
|