jonathanjordan21 commited on
Commit
b97fbbf
·
verified ·
1 Parent(s): 9f761aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,4 +20,4 @@ def greet_json():
20
 
21
  @app.post("/summary")
22
  def summary(inp: InputText):
23
- return summarizer(inp.text, max_length=1000, min_length=30, do_sample=False)
 
20
 
21
  @app.post("/summary")
22
  def summary(inp: InputText):
23
+ return summarizer(inp.text[:3000], max_length=1000, min_length=30, do_sample=False)