File size: 341 Bytes
605dfb9
 
 
 
 
1f4e701
1
2
3
4
5
6
import gradio as gr

title = "Text Generator GPT-J-6B"
description = "Kindly input your text, submit and the computer will predict subsequent words for your text."

gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", inputs = gr.inputs.Textbox(lines=5, label="Input text."), title=title, description=description, enable_queue=True).launch()