jannisborn commited on
Commit
571b9f0
·
unverified ·
1 Parent(s): eee7fb1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ if __name__ == "__main__":
105
  minimum=5, maximum=1024, value=512, label="Maximal length", step=1
106
  ),
107
  gr.Slider(minimum=2, maximum=500, value=50, label="Top-k", step=1),
108
- gr.Slider(minimum=0.5, maximum=1, value=1.0, label="Top-p", step=1),
109
  ],
110
  outputs=gr.Textbox(label="Output"),
111
  article=article,
 
105
  minimum=5, maximum=1024, value=512, label="Maximal length", step=1
106
  ),
107
  gr.Slider(minimum=2, maximum=500, value=50, label="Top-k", step=1),
108
+ gr.Slider(minimum=0.5, maximum=1.0, value=0.95, label="Top-p"),
109
  ],
110
  outputs=gr.Textbox(label="Output"),
111
  article=article,