Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,18 +21,24 @@ Rohit: Oh!! That sounds taxing. What are you planning to do now?
|
|
21 |
Mahesh: I will again start applying for jobs near my home.
|
22 |
Rohit: Best of luck man!!''']]
|
23 |
|
24 |
-
model1 = gr.Interface.load("huggingface/
|
25 |
title = 'BART-Large-cnn-samsum',
|
26 |
description = 'This is a pre trained model'
|
27 |
)
|
28 |
|
29 |
-
|
|
|
30 |
title = 'T5-small model',
|
31 |
description = 'This is a self trained model',
|
32 |
)
|
33 |
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
-
Parallel(model1, model2 ,
|
36 |
title = title,
|
37 |
description = description,
|
38 |
inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'),
|
|
|
21 |
Mahesh: I will again start applying for jobs near my home.
|
22 |
Rohit: Best of luck man!!''']]
|
23 |
|
24 |
+
model1 = gr.Interface.load("huggingface/anegi/t5smallmodel",
|
25 |
title = 'BART-Large-cnn-samsum',
|
26 |
description = 'This is a pre trained model'
|
27 |
)
|
28 |
|
29 |
+
|
30 |
+
model2 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
31 |
title = 'T5-small model',
|
32 |
description = 'This is a self trained model',
|
33 |
)
|
34 |
|
35 |
+
model3 = gr.Interface.load("huggingface/lidiya/bart-large-xsum-samsum",
|
36 |
+
title = 'T5-small model',
|
37 |
+
description = 'This is a self trained model',
|
38 |
+
)
|
39 |
+
|
40 |
|
41 |
+
Parallel(model1, model2 ,model3,
|
42 |
title = title,
|
43 |
description = description,
|
44 |
inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'),
|