Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def summarize(text, max_length=150):
|
|
46 |
|
47 |
return preds[0]
|
48 |
|
49 |
-
summary = summarize(text,max_length=
|
50 |
|
51 |
readout = readout + " The following is a brief summary of it: "+ summary
|
52 |
|
|
|
46 |
|
47 |
return preds[0]
|
48 |
|
49 |
+
summary = summarize(text,max_length=80)
|
50 |
|
51 |
readout = readout + " The following is a brief summary of it: "+ summary
|
52 |
|