alex-snd commited on
Commit
146e546
·
2 Parent(s): 4ad61c1 902a6c9

Merge branch 'huggingface-dev' into huggingface

Browse files
Files changed (1) hide show
  1. dashboard.py +2 -2
dashboard.py CHANGED
@@ -104,8 +104,8 @@ def inference_sidebar() -> Tuple[bool, int, int, int]:
104
  else:
105
  min_noise, max_noise = 0, 0
106
 
107
- bw = st.sidebar.slider('Beam search width', 1, 6, key='beam_width',
108
- value=st.session_state.get('beam_width', 25))
109
 
110
  if max_noise > var.MAX_NOISE:
111
  st.sidebar.warning('Max noise value is too large. This will entail poor performance')
 
104
  else:
105
  min_noise, max_noise = 0, 0
106
 
107
+ bw = st.sidebar.slider('Beam search width', 1, 25, key='beam_width',
108
+ value=st.session_state.get('beam_width', 5))
109
 
110
  if max_noise > var.MAX_NOISE:
111
  st.sidebar.warning('Max noise value is too large. This will entail poor performance')