Luigi commited on
Commit
c58eafa
·
1 Parent(s): 2f31c84

default to 6 suggestions for efficieny

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks(css=custom_css) as demo:
117
  minimum=1, maximum=50, step=1, value=1, label="K(最大新詞元數)"
118
  )
119
  m_slider = gr.Slider(
120
- minimum=1, maximum=30, step=1, value=10, label="M(建議數/Beam 數)"
121
  )
122
 
123
  # 事件綁定
 
117
  minimum=1, maximum=50, step=1, value=1, label="K(最大新詞元數)"
118
  )
119
  m_slider = gr.Slider(
120
+ minimum=1, maximum=30, step=1, value=6, label="M(建議數/Beam 數)"
121
  )
122
 
123
  # 事件綁定