mrm8488 commited on
Commit
c901baf
1 Parent(s): 788b3cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
  title = "GPT-J-6B Demo"
3
  description = "Gradio Demo for GPT-J 6B, a Transformer model trained using Ben Wang's Mesh Transformer JAX. 'GPT-J' refers to the class of model, while '6B' represents the number of trainable parameters."
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>"
@@ -8,4 +9,4 @@ examples = [
8
  ["- How are you?"]
9
  ]
10
  gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
11
- title=title, description=description, article=article, examples=examples, enable_queue=True).launch()
1
  import gradio as gr
2
+ theme = "darkhuggingface"
3
  title = "GPT-J-6B Demo"
4
  description = "Gradio Demo for GPT-J 6B, a Transformer model trained using Ben Wang's Mesh Transformer JAX. 'GPT-J' refers to the class of model, while '6B' represents the number of trainable parameters."
5
  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>"
9
  ["- How are you?"]
10
  ]
11
  gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
12
+ theme=theme, title=title, description=description, article=article, examples=examples, enable_queue=True).launch()