ussarata commited on
Commit
13216c7
·
1 Parent(s): 8cdf30a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ description = 'This is a text generation model which uses the transformer architecture to generate text given an prompt'
4
+ title = 'Story Generator'
5
+ gr.Interface.load('huggingface/EleutherAI/gpt-j-6B', inputs=gr.inputs.Textbox(lines=5, label='Write a text prompt'), title=title, description=description).launch()