sungwoo1 commited on
Commit
2534267
·
1 Parent(s): 6b1b402

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -1,9 +1,12 @@
1
  import gradio as gr
2
 
3
- title = "Bloom"
4
 
5
- description = "Bloom Gradio Demo.\
6
- I've used the API on this Space to deploy the Bloom model on a Telegram bot. \
 
 
 
7
  Link to blog post below 👇"
8
 
9
  article = "<p style='text-align: center'> \
@@ -16,7 +19,7 @@ examples = [
16
  ["The smooth Borealis basin in the Northern Hemisphere covers 40%"]
17
  ]
18
 
19
- gr.Interface.load("huggingface/bigscience/bloom",
20
  inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
21
  title=title,description=description,
22
  article=article,
 
1
  import gradio as gr
2
 
3
+ title = "GPT-J-6B"
4
 
5
+ description = "Gradio Demo for GPT-J 6B, a transformer model trained \
6
+ using Ben Wang's Mesh Transformer JAX. 'GPT-J' refers to the class of \
7
+ model, while '6B' represents the number of trainable parameters. \
8
+ To use it, simply add your text, or click one of the examples to load them. \
9
+ I've used the API on this Space to deploy the GPT-J-6B model on a Telegram bot. \
10
  Link to blog post below 👇"
11
 
12
  article = "<p style='text-align: center'> \
 
19
  ["The smooth Borealis basin in the Northern Hemisphere covers 40%"]
20
  ]
21
 
22
+ gr.Interface.load("huggingface/EleutherAI/gpt-j-6B",
23
  inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
24
  title=title,description=description,
25
  article=article,