chansung commited on
Commit
d7c22fb
1 Parent(s): c444b97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -291,7 +291,7 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
291
  res_topk = gr.Slider(20, 1000, 50, step=1, label="top_k", interactive=True)
292
  res_rpen = gr.Slider(0.0, 2.0, 1.2, step=0.1, label="rep_penalty", interactive=True)
293
  res_mnts = gr.Slider(64, 8192, 512, step=1, label="new_tokens", interactive=True)
294
- res_sample = gr.Radio([True, False], value=0, label="sample", interactive=True)
295
 
296
  with gr.Column():
297
  gr.Markdown("#### Context managements")
 
291
  res_topk = gr.Slider(20, 1000, 50, step=1, label="top_k", interactive=True)
292
  res_rpen = gr.Slider(0.0, 2.0, 1.2, step=0.1, label="rep_penalty", interactive=True)
293
  res_mnts = gr.Slider(64, 8192, 512, step=1, label="new_tokens", interactive=True)
294
+ res_sample = gr.Radio([True, False], value=True, label="sample", interactive=True)
295
 
296
  with gr.Column():
297
  gr.Markdown("#### Context managements")