import gradio as gr title = "Funnel Transformer" description = "Gradio Demo for Funnel Transformer. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "
Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processing
" examples = [ ["Replace me by any text you'd like."] ] gr.Interface.load("huggingface/funnel-transformer/small",title=title,description=description,article=article, examples=examples).launch(enable_queue=True)