File size: 802 Bytes
cb5c2b3
 
786aa6e
cb5c2b3
c49136b
 
7d6ebdf
c49136b
 
 
 
 
 
786aa6e
7d6ebdf
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import gradio as gr
from gradio import inputs
from gradio.mix import Parallel

description = 'Dialogue summarization models'
title = 'Comparing different dialogue summarization models'

example = [['''Aakash: Do you watched last night match?
Vikas: No, I was busy. What happended?
Aakash: Barcelona won their game against Sevilla 1-0. Pedri scored an sensational goal.
Vikas: Oh really!!! I have to watch the highlights at home.
Aakash: Yes, I am so excited for the new upcoming season. Xavi really doing wonders.
Vikas: Exactly!! Xavi has changed the way Barcelona play. The good days are coming back. ''']]


interface = gr.Interface.load("huggingface/anegi/t5smallmodel",
            description=description,
            examples=example,
            theme = 'dark-peach'
)

interface.launch()