Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,6 @@ else:
|
|
45 |
|
46 |
def generate_text(model, input_texts, max_length=500, print_time_taken=False):
|
47 |
summary = model.generate(input_texts, max_length=max_length)
|
48 |
-
summaries.append(summary)
|
49 |
return summary
|
50 |
|
51 |
generated_summaries = generate_text(
|
|
|
45 |
|
46 |
def generate_text(model, input_texts, max_length=500, print_time_taken=False):
|
47 |
summary = model.generate(input_texts, max_length=max_length)
|
|
|
48 |
return summary
|
49 |
|
50 |
generated_summaries = generate_text(
|