Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,16 +10,12 @@ io1 = gr.Interface.load("huggingface/anegi/t5smallmodel",
|
|
| 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 |
|
| 25 |
Parallel(io1,io2).launch()
|
|
|
|
| 10 |
gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your text here: ')
|
| 11 |
],
|
| 12 |
description='This is a self trained model',
|
|
|
|
| 13 |
)
|
| 14 |
|
| 15 |
io2 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
| 16 |
title='Dialogue Summarization using bart large cnn',
|
|
|
|
|
|
|
|
|
|
| 17 |
description='This is a pre trained model '
|
| 18 |
+
|
| 19 |
)
|
| 20 |
|
| 21 |
Parallel(io1,io2).launch()
|