anegi's picture
Update app.py
933910a
raw
history blame
578 Bytes
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... ')
],
outputs = [
gr.outputs.Textbox(type = 'auto',label = 'Summary Generated')
],
description = description
)
interface.launch()