Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained(model_checkpoint)
|
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
|
7 |
|
8 |
from transformers import SummarizationPipeline
|
9 |
-
summarizer = SummarizationPipeline(model=model, tokenizer=tokenizer)
|
10 |
|
11 |
import gradio as gr
|
12 |
|
|
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
|
7 |
|
8 |
from transformers import SummarizationPipeline
|
9 |
+
summarizer = SummarizationPipeline(model=model, tokenizer=tokenizer)
|
10 |
|
11 |
import gradio as gr
|
12 |
|