Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def summarize_text_with_chat(text, max_length=10000):
|
|
52 |
trimmed_text = text[:max_length]
|
53 |
|
54 |
response = openai.chat.completions.create(
|
55 |
-
model="gpt-
|
56 |
messages=[
|
57 |
{"role": "system", "content": "ๆฌกใฎๆๆธใ่ฆ็ดใใฆใใ ใใใๅฟ
ใ'## ใฟใคใใซ', '## ่ฆ็ด', '## ๅฐ้็จ่ช่งฃ่ชฌ'ใ่จ่ผใใฆใใ ใใใ"},
|
58 |
{"role": "user", "content": trimmed_text}
|
|
|
52 |
trimmed_text = text[:max_length]
|
53 |
|
54 |
response = openai.chat.completions.create(
|
55 |
+
model="gpt-4-0125-preview",
|
56 |
messages=[
|
57 |
{"role": "system", "content": "ๆฌกใฎๆๆธใ่ฆ็ดใใฆใใ ใใใๅฟ
ใ'## ใฟใคใใซ', '## ่ฆ็ด', '## ๅฐ้็จ่ช่งฃ่ชฌ'ใ่จ่ผใใฆใใ ใใใ"},
|
58 |
{"role": "user", "content": trimmed_text}
|