jlazoff commited on
Commit
4234b89
1 Parent(s): 9f052af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -17,14 +17,14 @@ from gradio.mix import Parallel, Series
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/pegasus-pubmed")
22
  #io16 = gr.Interface.load("huggingface/google/bigbird-pegasus-large-arxiv")
23
  #io17 = gr.Interface.load("huggingface/sshleifer/distill-pegasus-xsum-16-4")
24
  #io18 = gr.Interface.load("huggingface/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
 
@@ -65,14 +65,14 @@ iface = Parallel(#io1,
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',
 
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/pegasus-pubmed")
22
  #io16 = gr.Interface.load("huggingface/google/bigbird-pegasus-large-arxiv")
23
  #io17 = gr.Interface.load("huggingface/sshleifer/distill-pegasus-xsum-16-4")
24
  #io18 = gr.Interface.load("huggingface/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
 
 
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',