gheinrich commited on
Commit
6863e73
β€’
1 Parent(s): 760adf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,10 +23,10 @@ After filling in these details, click the "Submit" button, and a short story wil
23
  inputs = [
24
  gr.Textbox(label="Main Character", placeholder="e.g. a brave knight"),
25
  gr.Textbox(label="Setting", placeholder="e.g. in an enchanted forest"),
26
- gr.Textbox(label="Plot Twist", placeholder="e.g. discovers a hidden treasure")
27
  gr.Slider(minimum=1, maximum=2048, value=64, step=1, label="Max new tokens"),
28
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
29
- gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
30
  ]
31
 
32
  outputs = gr.Textbox(label="Generated Story")
 
23
  inputs = [
24
  gr.Textbox(label="Main Character", placeholder="e.g. a brave knight"),
25
  gr.Textbox(label="Setting", placeholder="e.g. in an enchanted forest"),
26
+ gr.Textbox(label="Plot Twist", placeholder="e.g. discovers a hidden treasure"),
27
  gr.Slider(minimum=1, maximum=2048, value=64, step=1, label="Max new tokens"),
28
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
29
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
30
  ]
31
 
32
  outputs = gr.Textbox(label="Generated Story")