File size: 331 Bytes
13216c7
 
 
 
 
1
2
3
4
5
import gradio as gr

description = 'This is a text generation model which uses the transformer architecture to generate text given an prompt'
title = 'Story Generator'
gr.Interface.load('huggingface/EleutherAI/gpt-j-6B', inputs=gr.inputs.Textbox(lines=5, label='Write a text prompt'), title=title, description=description).launch()