Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ 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",
|
|
@@ -18,8 +18,8 @@ io2 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
|
| 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 |
+
theme = 'dark'
|
| 14 |
)
|
| 15 |
|
| 16 |
io2 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
|
|
|
|
| 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()
|