Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,20 +5,20 @@ from gradio.mix import Parallel
|
|
| 5 |
description = 'Comparing dialogue summarization models'
|
| 6 |
|
| 7 |
io1 = gr.Interface.load("huggingface/anegi/t5smallmodel",
|
| 8 |
-
title
|
| 9 |
inputs = [
|
| 10 |
gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your text here: ')
|
| 11 |
],
|
| 12 |
-
description
|
| 13 |
-
theme
|
| 14 |
)
|
| 15 |
|
| 16 |
io2 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
| 17 |
-
title
|
| 18 |
inputs = [
|
| 19 |
gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your text here: ')
|
| 20 |
],
|
| 21 |
-
description
|
| 22 |
|
| 23 |
)
|
| 24 |
|
|
|
|
| 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'
|
| 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 |
|
| 23 |
)
|
| 24 |
|