BigSalmon commited on
Commit
bbe69a1
·
1 Parent(s): a5a8a3e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ title = "GPT-J-6B"
3
+ description = "What's up Karl?"
4
+ article = "<p style='text-align: center'><a href='https://github.com/kingoflolz/mesh-transformer-jax' target='_blank'>GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model</a></p>"
5
+ examples = [
6
+ ['Karl is writing some amazing software'],
7
+ ["Cubby is also working on software but it is not a lot of natural language processing"],
8
+ ["Now they are going to work together on NLP as osteopathic physicians combining their powers"]
9
+ ]
10
+ gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples,enable_queue=True).launch()