Spaces:
Runtime error
Runtime error
Commit
·
948a506
1
Parent(s):
543a426
Update app.py
Browse files
app.py
CHANGED
@@ -16,13 +16,13 @@ with st.sidebar:
|
|
16 |
|
17 |
max_length = st.slider('Max text length', 0, 500, 80)
|
18 |
|
19 |
-
num_beams = st.slider('N° tree beams search', 1, 15,
|
20 |
|
21 |
early_stopping = st.selectbox(
|
22 |
'Early stopping text generation',
|
23 |
('True', 'False'), key={'True' : True, 'False': False}, index=0)
|
24 |
|
25 |
-
no_ngram_repeat = st.slider('Max repetition limit', 1, 5,
|
26 |
|
27 |
with col1:
|
28 |
prompt= st.text_area('Your prompt here',
|
|
|
16 |
|
17 |
max_length = st.slider('Max text length', 0, 500, 80)
|
18 |
|
19 |
+
num_beams = st.slider('N° tree beams search', 1, 15, 1)
|
20 |
|
21 |
early_stopping = st.selectbox(
|
22 |
'Early stopping text generation',
|
23 |
('True', 'False'), key={'True' : True, 'False': False}, index=0)
|
24 |
|
25 |
+
no_ngram_repeat = st.slider('Max repetition limit', 1, 5, 2)
|
26 |
|
27 |
with col1:
|
28 |
prompt= st.text_area('Your prompt here',
|