File size: 437 Bytes
cb5c2b3
 
 
 
 
0cba37e
cb5c2b3
85b8790
7f6348d
 
 
63abbf6
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr
from gradio import inputs

description = "Dialogue Summarization "
interface = gr.Interface.load("huggingface/anegi/t5smallmodel",
            title = 'Dialogue Summarization',
            inputs = [
               gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your dialogue text here... ')       
            ],
            description = description
            )
interface.launch()