Spaces:
Runtime error
Runtime error
Commit
·
85f0cd3
1
Parent(s):
7de5797
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, 2000, 80)
|
18 |
|
19 |
-
num_beams = st.slider('N° tree beams search',
|
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',
|
26 |
|
27 |
with col1:
|
28 |
prompt= st.text_area('Your prompt here',
|
|
|
16 |
|
17 |
max_length = st.slider('Max text length', 0, 2000, 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', 10, 30, 15)
|
26 |
|
27 |
with col1:
|
28 |
prompt= st.text_area('Your prompt here',
|