Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ tokenizer, model = get_model(cp_aug)
|
|
21 |
# )
|
22 |
|
23 |
def generate_summary(url):
|
24 |
-
results =
|
25 |
summary = "\n".join(results)
|
26 |
return summary
|
27 |
|
|
|
21 |
# )
|
22 |
|
23 |
def generate_summary(url):
|
24 |
+
results = pipeline(url, model, tokenizer)
|
25 |
summary = "\n".join(results)
|
26 |
return summary
|
27 |
|