Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ def summarize_text(text,max_length):
|
|
29 |
max_length=max_length+2,
|
30 |
num_beams=5,
|
31 |
)
|
|
|
32 |
|
33 |
# Decode and return the summary
|
34 |
return tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
|
|
29 |
max_length=max_length+2,
|
30 |
num_beams=5,
|
31 |
)
|
32 |
+
print(summary_ids)
|
33 |
|
34 |
# Decode and return the summary
|
35 |
return tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|