Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def generate_summary(text, model="gpt-4o-mini"):
|
|
| 17 |
response = client.chat.completions.create(
|
| 18 |
model=model,
|
| 19 |
messages=[
|
| 20 |
-
{"role": "system", "content": "You are a helpful assistant. Please summarize the following content."},
|
| 21 |
{"role": "user", "content": text}
|
| 22 |
]
|
| 23 |
)
|
|
|
|
| 17 |
response = client.chat.completions.create(
|
| 18 |
model=model,
|
| 19 |
messages=[
|
| 20 |
+
{"role": "system", "content": "You are a helpful assistant. Please summarize the following content in 30 words ."},
|
| 21 |
{"role": "user", "content": text}
|
| 22 |
]
|
| 23 |
)
|