fahad11182 commited on
Commit
1d08c93
1 Parent(s): 2e2014d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
 
3
  # Load models
4
  summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
 
1
  import gradio as gr
2
+ from transformers import pipeline
3
 
4
  # Load models
5
  summarizer = pipeline("summarization", model="facebook/bart-large-cnn")