import gradio as gr title = "Distilbart-CNN" description = "Gradio Demo for DistilBart. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "
" examples = [ ['The tower is 324 metres (1,063 ft) tall,'] ] gr.Interface.load("huggingface/sshleifer/distilbart-cnn-12-6", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()