Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,17 +6,16 @@ title = 'Comparing different dialogue summarization models'
|
|
| 6 |
|
| 7 |
|
| 8 |
model1 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
| 9 |
-
title = 'BART-Large-cnn-samsum'
|
| 10 |
-
|
| 11 |
|
| 12 |
model2 = gr.Interface.load("huggingface/anegi/t5smallmodel",
|
| 13 |
title = 'T5-small model',
|
| 14 |
-
|
| 15 |
|
| 16 |
|
| 17 |
Parallel(model1, model2 ,
|
| 18 |
title = title,
|
| 19 |
-
examples=examples,
|
| 20 |
inputs = gr.inputs.Textbox(lines = 10),
|
| 21 |
theme = 'dark-peach' ).launch()
|
| 22 |
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
model1 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
| 9 |
+
title = 'BART-Large-cnn-samsum'
|
| 10 |
+
)
|
| 11 |
|
| 12 |
model2 = gr.Interface.load("huggingface/anegi/t5smallmodel",
|
| 13 |
title = 'T5-small model',
|
| 14 |
+
)
|
| 15 |
|
| 16 |
|
| 17 |
Parallel(model1, model2 ,
|
| 18 |
title = title,
|
|
|
|
| 19 |
inputs = gr.inputs.Textbox(lines = 10),
|
| 20 |
theme = 'dark-peach' ).launch()
|
| 21 |
|