MrGanesh commited on
Commit
4931916
1 Parent(s): caa7fed

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
- summarizer = pipeline("summarization", model="google/bigbird-pegasus-large-bigpatent")
7
  return summarizer
8
 
9
  summarize = load_summarizer()
 
3
 
4
  @st.cache(allow_output_mutation=True)
5
  def load_summarizer():
6
+ summarizer = pipeline("summarization", model="pszemraj/long-t5-tglobal-base-16384-booksum-V11-big_patent-V2")
7
  return summarizer
8
 
9
  summarize = load_summarizer()