Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from gradio.mix import Parallel
|
|
4 |
|
5 |
description = 'Dialogue summarization models'
|
6 |
title = 'Comparing different dialogue summarization models'
|
|
|
7 |
example = [['''Aakash: Do you watched last night match?
|
8 |
Vikas: No, I was busy. What happended?
|
9 |
Aakash: Barcelona won their game against Sevilla 1-0. Pedri scored an sensational goal.
|
@@ -11,19 +12,16 @@ Vikas: Oh really!!! I have to watch the highlights at home.
|
|
11 |
Aakash: Yes, I am so excited for the new upcoming season. Xavi really doing wonders.
|
12 |
Vikas: Exactly!! Xavi has changed the way Barcelona play. The good days are coming back. ''']]
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
)
|
28 |
-
|
29 |
-
Parallel(io1,io2,io3).launch()
|
|
|
4 |
|
5 |
description = 'Dialogue summarization models'
|
6 |
title = 'Comparing different dialogue summarization models'
|
7 |
+
|
8 |
example = [['''Aakash: Do you watched last night match?
|
9 |
Vikas: No, I was busy. What happended?
|
10 |
Aakash: Barcelona won their game against Sevilla 1-0. Pedri scored an sensational goal.
|
|
|
12 |
Aakash: Yes, I am so excited for the new upcoming season. Xavi really doing wonders.
|
13 |
Vikas: Exactly!! Xavi has changed the way Barcelona play. The good days are coming back. ''']]
|
14 |
|
15 |
+
|
16 |
+
interface = gr.Interface.load("huggingface/anegi/t5smallmodel",
|
17 |
+
description=description,
|
18 |
+
examples=example,
|
19 |
+
theme = 'dark-peach'
|
20 |
+
)
|
21 |
+
|
22 |
+
interface.launch()
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
|
|
|
|
|
|