import gradio as gr title = "Tiny CTRL" description = "Gradio Demo for Tiny CTRL. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "

CTRL: A Conditional Transformer Language Model for Controllable Generation

" examples = [ ['My name is Thomas and my main'] ] gr.Interface.load("huggingface/tiny-ctrl", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples).launch(enable_queue=True)