Mbilal755 commited on
Commit
0e8e456
·
1 Parent(s): dc1da65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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