MrGanesh commited on
Commit
239b116
1 Parent(s): 33f1577

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  @st.cache(allow_output_mutation=True)
5
  def load_summarizer():
6
- model = pipeline("summarization", device=0)
7
  return model
8
 
9
 
 
3
 
4
  @st.cache(allow_output_mutation=True)
5
  def load_summarizer():
6
+ model = pipeline("summarization", model="google/bigbird-pegasus-large-bigpatent")
7
  return model
8
 
9