Xhaheen commited on
Commit
a926c23
1 Parent(s): 825dc04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -21,7 +21,10 @@ def happytt(temperature,max_tokens,text):
21
 
22
  return response.choices[0].text
23
 
24
-
 
 
 
25
  iface = gr.Interface( happytt,[ gr.inputs.Slider(0, 1, step=0.1),gr.inputs.Slider(1, 4000, step=1),
26
  gr.inputs.Textbox(type='str',
27
  label="input prompt")],
 
21
 
22
  return response.choices[0].text
23
 
24
+ title = "GPT-J-6B"
25
+ 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. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
26
+
27
+
28
  iface = gr.Interface( happytt,[ gr.inputs.Slider(0, 1, step=0.1),gr.inputs.Slider(1, 4000, step=1),
29
  gr.inputs.Textbox(type='str',
30
  label="input prompt")],