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

Improving Language Understanding by Generative Pre-Training

" examples = [ ['My name is Lewis'] ] gr.Interface.load("huggingface/openai-gpt", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()