egosumkira commited on
Commit
22384ee
1 Parent(s): fb0d37c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ description = 'This is fine-tuned GPT-2 model for "conditional" generation. The
29
  iface = gr.Interface(generate,
30
  inputs = [
31
  gr.Textbox(label="Keywords (comma separated)"),
32
- gr.inputs.Slider(0, 2, default=0.95, step=0.05, label="Temperature"),
33
  gr.inputs.Slider(1, 10, default=3, label="Number of beams", step=1),
34
  gr.Number(label="Max lenght", value=128)
35
  ],
@@ -37,7 +37,7 @@ iface = gr.Interface(generate,
37
  title=title,
38
  description=description,
39
  examples=[
40
- ["time travel, magic, demons", 0.95, 3, 128]
41
  ]
42
  )
43
 
 
29
  iface = gr.Interface(generate,
30
  inputs = [
31
  gr.Textbox(label="Keywords (comma separated)"),
32
+ gr.inputs.Slider(0, 2, default=1.0, step=0.05, label="Temperature"),
33
  gr.inputs.Slider(1, 10, default=3, label="Number of beams", step=1),
34
  gr.Number(label="Max lenght", value=128)
35
  ],
 
37
  title=title,
38
  description=description,
39
  examples=[
40
+ ["time travel, magic, demons", 1.0, 3, 128]
41
  ]
42
  )
43