Change beam search width limit to 25
Browse files- dashboard.py +1 -1
dashboard.py
CHANGED
@@ -105,7 +105,7 @@ def inference_sidebar() -> Tuple[bool, int, int, int]:
|
|
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',
|
109 |
|
110 |
if max_noise > var.MAX_NOISE:
|
111 |
st.sidebar.warning('Max noise value is too large. This will entail poor performance')
|
|
|
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')
|