Shreyas094 commited on
Commit
5e2a934
·
verified ·
1 Parent(s): 0bbc003

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": 500}
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")