Spaces:
Runtime error
Runtime error
johnnyfivefingers
commited on
Commit
•
955d0d6
1
Parent(s):
71d76cc
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ import gradio as gr
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
#hub_model_id = "huggingface-course/mt5-small-finetuned-amazon-en-es"
|
6 |
-
|
7 |
-
model_id = "t5-base"
|
8 |
|
9 |
summarizer = pipeline("summarization", model=model_id)
|
10 |
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
#hub_model_id = "huggingface-course/mt5-small-finetuned-amazon-en-es"
|
6 |
+
model_id = "philschmid/bart-large-cnn-samsum"
|
7 |
+
#model_id = "t5-base"
|
8 |
|
9 |
summarizer = pipeline("summarization", model=model_id)
|
10 |
|