Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
-
summarizer = pipeline("summarization", model="
|
4 |
|
5 |
def calculate_summary(article):
|
6 |
return summarizer(article)[0]["summary_text"]
|
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
+
summarizer = pipeline("summarization", model="kriton/greek-title-generator")
|
4 |
|
5 |
def calculate_summary(article):
|
6 |
return summarizer(article)[0]["summary_text"]
|