Ashish Soni commited on
Commit
ae5f145
·
1 Parent(s): 3173be4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- get_completion = pipeline("summarization", model="shleifer/distilbart-cnn-12-6")
5
 
6
  def summarize(input):
7
  output = get_completion(input)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ get_completion = pipeline("summarization", model="sshleifer/distilbart-cnn-12-6")
5
 
6
  def summarize(input):
7
  output = get_completion(input)