textgen / app.py
ussarata's picture
Create app.py
13216c7
raw
history blame contribute delete
331 Bytes
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()