Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def summarize_text(text, instructions, agent_name):
|
|
24 |
|
25 |
payload = {
|
26 |
"inputs": f"{instructions}\n\nText to summarize:\n{text}",
|
27 |
-
"parameters": {"max_length":
|
28 |
}
|
29 |
|
30 |
print(f"{agent_name}: Sending request to API")
|
|
|
24 |
|
25 |
payload = {
|
26 |
"inputs": f"{instructions}\n\nText to summarize:\n{text}",
|
27 |
+
"parameters": {"max_length": 2000}
|
28 |
}
|
29 |
|
30 |
print(f"{agent_name}: Sending request to API")
|