jlazoff commited on
Commit
d1e9ca0
1 Parent(s): 6ce5d7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -1
app.py CHANGED
@@ -17,6 +17,16 @@ io10 = gr.Interface.load('huggingface/google/pegasus-gigaword')
17
  io11 = gr.Interface.load("huggingface/google/pegasus-billsum")
18
  io12 = gr.Interface.load("huggingface/google/pegasus-big_patent")
19
  io13 = gr.Interface.load("huggingface/google/pegasus-aeslc")
 
 
 
 
 
 
 
 
 
 
20
 
21
  desc = "Let Hugging Face models summarize texts for you. Note: Shorter articles generate faster summaries. This summarizer uses pegasus by Google. You can compare these models against each other on their performances."
22
 
@@ -49,7 +59,22 @@ iface = Parallel(io1,
49
  io5,
50
  io6,
51
  io7,
52
- io8, io9, io10, io11, io12, io13,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  theme='huggingface',
54
  title='Hugging Face Text Summarizer',
55
  description=desc,
 
17
  io11 = gr.Interface.load("huggingface/google/pegasus-billsum")
18
  io12 = gr.Interface.load("huggingface/google/pegasus-big_patent")
19
  io13 = gr.Interface.load("huggingface/google/pegasus-aeslc")
20
+ io14 = gr.Interface.load("huggingface/google/pegasus-large")
21
+ io15 = gr.Interface.load("huggingface/google/google/pegasus-pubmed")
22
+ io16 = gr.Interface.load("huggingface/google/bigbird-pegasus-large-arxiv")
23
+ io17 = gr.Interface.load("huggingface/google/sshleifer/distill-pegasus-xsum-16-4")
24
+ io18 = gr.Interface.load("huggingface/google/sshleifer/distill-pegasus-cnn-16-4")
25
+ io19 = gr.Interface.load("huggingface/tuner007/pegasus_summarizer")
26
+ io20 = gr.Interface.load("huggingface/pszemraj/pegasus-x-large-book-summary")
27
+ io21 = gr.Interface.load("huggingface/google/pegasus-x-large")
28
+ io22 = gr.Interface.load("huggingface/google/pegasus-x-base")
29
+ io23 = gr.Interface.load("huggingface/xysmalobia/pegasus-samsum")
30
 
31
  desc = "Let Hugging Face models summarize texts for you. Note: Shorter articles generate faster summaries. This summarizer uses pegasus by Google. You can compare these models against each other on their performances."
32
 
 
59
  io5,
60
  io6,
61
  io7,
62
+ io8,
63
+ io9,
64
+ io10,
65
+ io11,
66
+ io12,
67
+ io13,
68
+ io14,
69
+ io15,
70
+ io16,
71
+ io17,
72
+ io18,
73
+ io19,
74
+ io20,
75
+ io21,
76
+ io22,
77
+ io23,
78
  theme='huggingface',
79
  title='Hugging Face Text Summarizer',
80
  description=desc,