Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -110,7 +110,7 @@ async def root(item: Item):
|
|
110 |
"messages": [
|
111 |
{
|
112 |
"role": "user",
|
113 |
-
"content": "
|
114 |
}
|
115 |
],
|
116 |
"temperature": 0.5,
|
|
|
110 |
"messages": [
|
111 |
{
|
112 |
"role": "user",
|
113 |
+
"content": f"summarize this news article in {item.max_tokens} lines:" + article
|
114 |
}
|
115 |
],
|
116 |
"temperature": 0.5,
|