Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,23 +4,21 @@ from gradio.mix import Parallel
|
|
| 4 |
|
| 5 |
description = 'Comparing dialogue summarization models'
|
| 6 |
|
| 7 |
-
io1 = gr.Interface.load("huggingface/anegi/t5smallmodel",
|
| 8 |
-
description = 'This is a self trained model',
|
| 9 |
title = 'Dialogue Summarization using t5-small model',
|
| 10 |
inputs = [
|
| 11 |
gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your text here: ')
|
| 12 |
],
|
| 13 |
-
description =
|
| 14 |
theme = 'dark-peach'
|
| 15 |
)
|
| 16 |
|
| 17 |
io2 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
| 18 |
-
description = 'This is a pre trained model',
|
| 19 |
title = 'Dialogue Summarization using bart large cnn',
|
| 20 |
inputs = [
|
| 21 |
gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your text here: ')
|
| 22 |
],
|
| 23 |
-
description =
|
| 24 |
theme = 'dark-peach'
|
| 25 |
)
|
| 26 |
|
|
|
|
| 4 |
|
| 5 |
description = 'Comparing dialogue summarization models'
|
| 6 |
|
| 7 |
+
io1 = gr.Interface.load("huggingface/anegi/t5smallmodel",
|
|
|
|
| 8 |
title = 'Dialogue Summarization using t5-small model',
|
| 9 |
inputs = [
|
| 10 |
gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your text here: ')
|
| 11 |
],
|
| 12 |
+
description = 'This is a self trained model',
|
| 13 |
theme = 'dark-peach'
|
| 14 |
)
|
| 15 |
|
| 16 |
io2 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
|
|
|
| 17 |
title = 'Dialogue Summarization using bart large cnn',
|
| 18 |
inputs = [
|
| 19 |
gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your text here: ')
|
| 20 |
],
|
| 21 |
+
description = 'This is a pre trained model',
|
| 22 |
theme = 'dark-peach'
|
| 23 |
)
|
| 24 |
|